javax.swing.plaf.basic

Class BasicInternalFrameTitlePane.SystemMenuBar

public class BasicInternalFrameTitlePane.SystemMenuBar extends JMenuBar

This class acts as the MenuBar for the TitlePane. Clicking on the Frame Icon in the top left corner will activate it.

UNKNOWN: Apparently this class was intended to be protected, but was made public by a compiler bug and is now public for compatibility.

Method Summary
booleanisFocusTraversable()
This method returns true if it can receive focus.
booleanisOpaque()
This method returns true if this Component is expected to paint all of itself.
voidpaint(Graphics g)
This method paints this Component.
voidrequestFocus()
This method requests that focus be given to this Component.

Method Detail

isFocusTraversable

public boolean isFocusTraversable()
This method returns true if it can receive focus.

Returns: True if this Component can receive focus.

isOpaque

public boolean isOpaque()
This method returns true if this Component is expected to paint all of itself.

Returns: True if this Component is expect to paint all of itself.

paint

public void paint(Graphics g)
This method paints this Component.

Parameters: g The Graphics object to paint with.

requestFocus

public void requestFocus()
This method requests that focus be given to this Component.