Recent Changes - Search:

Information

Installation

Documentation

User Feedback

Frame

 

 

 

The main feature of this element is the capacity for interact with your operating system. You can minimize and restore it in the usual form. Furthermore each simulation view has to host a first element of this type where you can add the other view elements. This frame is called the main frame.

 

Object wrapped

 

The object wrapped by this element is of the class java.awt.Frame. A Frame is a top-level window with a title and a border.
More information about this class on this page

 

 

 

Useful methods


    * (This list deliberately left empty.)

 

 

 

Properties

Frame  
Main  
NameDescriptionValues acceptedDefault
TitleThe title to display at the top.A string constant or variable. 
ImageAn icon for a iconiced frame.A file name or a string constant or variable. 
LayoutThe layout policy for this container.Use the editor provided or read about the layout property. 
VisibleThe visibility of the element.A boolean variable or one of the constants true or false. 
On ResizeThe action to invoke when the element is resized.The Java code to invoke for the action. 
On ClosingThe action to invoke when the window is closing.The Java code to invoke for the action. 
Position and Size  
NameDescriptionValues acceptedDefault
LocationThe top-left corner location of the window.Type the point coordinates or use the editor provided. 
Size The double[] array with the size of the frame in each direction.Type the two size values or use the editor provided. 
ResizableWhether the element can be resized.A boolean variable or one of the constants true or false. 
Graphical Aspect  
NameDescriptionValues acceptedDefault
BackgroundThe background color for the element.Use the editor provided or read about colors. 
ForegroundThe color to use when drawing or writing in the element.Use the editor provided or read about colors. 
FontThe font used to display text in the element.Use the editor provided to select name, style and size of the font. 
TooltipText displayed when the mouse is over the element.A string constant or variable. 

 

 

Edit - History - Print - Recent Changes - Search
Page last modified on June 09, 2009, at 06:37 PM