| Version: | 0.6-6 | 
| Title: | Java Graphics Device | 
| Maintainer: | Simon Urbanek <Simon.Urbanek@R-project.org> | 
| Depends: | R (≥ 2.4.0) | 
| Imports: | rJava (≥ 0.5-0), grDevices, graphics | 
| Description: | Graphics device routing all graphics commands to a Java program. The actual functionality of the JavaGD depends on the Java-side implementation. Simple AWT and Swing implementations are included. | 
| License: | GPL-2 | GPL-3 | 
| SystemRequirements: | GNU make and Java JDK 1.2 or higher | 
| URL: | https://www.rforge.net/JavaGD/ | 
| BugReports: | https://github.com/s-u/JavaGD/issues | 
| NeedsCompilation: | yes | 
| Packaged: | 2025-08-19 05:49:30 UTC; rforge | 
| Author: | Simon Urbanek  | 
| Repository: | CRAN | 
| Date/Publication: | 2025-08-19 14:54:48 UTC | 
Create a new Java graphics device
Description
JavaGD initializes a new Java grapgics device and creates a new window.
Usage
JavaGD(name="JavaGD", width=400, height=300, ps=12)
Arguments
name | 
 Name of the device  | 
width | 
 Initial width of the window (usually in pixels, but the actual interpretation depends on the Java implementation)  | 
height | 
 Initial height of the window  | 
ps | 
 Initial point size  | 
Value
Currently the return value is implementation dependent, mostly just the return code as returned by the low-level C function
Examples
## Not run: 
JavaGD()
## End(Not run)