charvax.swing
Class JFrame
- Runnable
In the CHARVA package, JFrame has identical functionality to Frame
BOTTOM_ALIGNMENT , CENTER_ALIGNMENT , LEFT_ALIGNMENT , RIGHT_ALIGNMENT , TOP_ALIGNMENT , _alignmentX , _alignmentY , _background , _cursesColor , _enabled , _focusListeners , _foreground , _keyListeners , _origin , _parent , _visible |
addWindowListener , adjustLocation , debug , draw , getLocationOnScreen , getOwner , hide , isDisplayed , isFocusTraversable , pack , processEvent , processWindowEvent , run , show |
add , add , debug , doLayout , draw , getComponent , getComponentAt , getComponentAt , getComponentCount , getComponents , getCurrentFocus , getHeight , getInsets , getSize , getWidth , invalidate , isFocusTraversable , isValid , minimumSize , nextFocus , previousFocus , processKeyEvent , remove , requestFocus , setBackground , setFocus , setForeground , setHeight , setLayout , setSize , setSize , setWidth , validate |
addFocusListener , addKeyListener , contains , contains , debug , draw , getAlignmentX , getAlignmentY , getAncestorWindow , getBackground , getBounds , getCursesColor , getForeground , getHeight , getLocation , getLocationOnScreen , getName , getParent , getSize , getWidth , hasFocus , hide , invalidate , isDisplayed , isEnabled , isFocusTraversable , isTotallyObscured , isValid , isVisible , minimumSize , processEvent , processFocusEvent , processKeyEvent , processMouseEvent , repaint , requestFocus , requestSync , setBackground , setBounds , setBounds , setBounds , setEnabled , setForeground , setLocation , setLocation , setName , setParent , setVisible , show , validate , validateCursesColor |
DISPOSE_ON_CLOSE
public static final int DISPOSE_ON_CLOSE
DO_NOTHING_ON_CLOSE
public static final int DO_NOTHING_ON_CLOSE
EXIT_ON_CLOSE
public static final int EXIT_ON_CLOSE
HIDE_ON_CLOSE
public static final int HIDE_ON_CLOSE
JFrame
public JFrame(String title_)
getContentPane
public Container getContentPane()
setBackground
public void setBackground(Color color_)
Sets the background color of this JFrame and its content pane.
- setBackground in interface Container
setDefaultCloseOperation
public void setDefaultCloseOperation(int operation_)
Sets the operation that will happen by default when the user
initiates a "close" on this frame. (Actually, the window is just
hidden, unless the frame is the last window in the application).
setForeground
public void setForeground(Color color_)
Sets the foreground color of this JFrame and its content pane.
- setForeground in interface Container
setJMenuBar
public void setJMenuBar(JMenuBar menubar_)
Sets the menubar for this frame.