|
ION Java User's Guide: ION Java Class and Method Reference |
|
The createWindow() method creates a drawing area of the given size, places that area in its own window frame, make the window the current destination for graphics output and returns the IDL window index of the new window. If a title is not specified, the default IDL windowing convention is used (IDL 0, IDL 1, ...).
public int createWindow(int xsize, int ysize)
public int createWindow(int xsize, int ysize, String title)
public int createWindow(int index, int xsize, int ysize)
public int createWindow(int index, int xsize, int ysize, String title)
public int createWindow(int index, int xsize, int ysize, int xpos, int ypos, String title)
This method returns the IDL window index of the newly created window.
The width in pixels of the window to be created
The height in pixels of the window to be created
The title of the window to be created
The desired IDL window index of the window
None
IONWindowingClient ionWin = New IONWindowingClient(); int index = ionWin.createWindow( xsize, ysize, title);
For another detailed example, see the window.java example located in the examples/src directory.
IDL Online Help (March 06, 2007)