Generated by
JDiff

Class javax.swing.JRootPane

Documentation changed from old to new.

Changed Constructors
JRootPane(void) Documentation changed from old to new.
Creates a JRootPane setting up its glassPane layeredPane and contentPane.
 

Removed Methods
boolean isFocusCycleRoot() Make JRootPane be the root of a focus cycle.
 

Added Methods
int getWindowDecorationStyle() Returns a constant identifying the type of Window decorations the JRootPane is providing.
void setWindowDecorationStyle(int) Sets the type of Window decorations (such as borders widgets for closing a Window title ...) the JRootPane should provide.
 

Changed Methods
void addImpl(Component, Object, int) Documentation changed from old to new.
Overridden to enforce the position of the glass component as the zero child.
void addNotify() Documentation changed from old to new.
Register ourselves with the SystemEventQueueUtils as a new root pane.
Container createContentPane() Documentation changed from old to new.
Called by the constructor methods to create the default contentPane.
Component createGlassPane() Documentation changed from old to new.
Called by the constructor methods to create the default glassPane.
JLayeredPane createLayeredPane() Documentation changed from old to new.
Called by the constructor methods to create the default layeredPane.
LayoutManager createRootLayout() Documentation changed from old to new.
Called by the constructor methods to create the default layoutManager.
AccessibleContext getAccessibleContext() Documentation changed from old to new.
Gets the AccessibleContext associated with this JRootPane.
Container getContentPane() Documentation changed from old to new.
Returns the content pane -- the container that holds the components parented by the root pane.
JButton getDefaultButton() Documentation changed from old to new.
Returns the value of the defaultButton property.
Component getGlassPane() Documentation changed from old to new.
Returns the current glass pane for this JRootPane.
JMenuBar getJMenuBar() Documentation changed from old to new.
Returns the menu bar from the layered pane.
JLayeredPane getLayeredPane() Documentation changed from old to new.
Gets the layered pane used by the root pane.
JMenuBar getMenuBar() Documentation changed from old to new.
As of Swing version 1.0.3 replaced by getJMenubar().
RootPaneUI getUI() Documentation changed from old to new.
Returns the L&F object that renders this component.
String getUIClassID() Documentation changed from old to new.
Returns a string that specifies the name of the L&F class that renders this component.
boolean isOptimizedDrawingEnabled() Documentation changed from old to new.
The glassPane and contentPane have the same bounds which means JRootPane does not tiles its children and this should return false.
boolean isValidateRoot() Documentation changed from old to new.
If a descendant of this JRootPane calls revalidate validate from here on down.
String paramString() Documentation changed from old to new.
Returns a string representation of this JRootPane.
void removeNotify() Documentation changed from old to new.
Unregister ourselves from SystemEventQueueUtils.
void setContentPane(Container) Documentation changed from old to new.
Sets the content pane -- the container that holds the components parented by the root pane.
void setDefaultButton(JButton) Documentation changed from old to new.
Sets the defaultButton property which determines the current default button for this JRootPane.
void setGlassPane(Component) Documentation changed from old to new.
Sets a specified Component to be the glass pane for this root pane.
void setJMenuBar(JMenuBar) Documentation changed from old to new.
Adds or changes the menu bar used in the layered pane.
void setLayeredPane(JLayeredPane) Documentation changed from old to new.
Sets the layered pane for the root pane.
void setMenuBar(JMenuBar) Documentation changed from old to new.
As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar menu).
void updateUI() Documentation changed from old to new.
Resets the UI property to a value from the current look and feel.
void setUI(RootPaneUI) Documentation changed from old to new.
Sets the L&F object that renders this component.
 

Added Fields
int COLOR_CHOOSER_DIALOG Constant used for the windowDecorationStyle property.
int ERROR_DIALOG Constant used for the windowDecorationStyle property.
int FILE_CHOOSER_DIALOG Constant used for the windowDecorationStyle property.
int FRAME Constant used for the windowDecorationStyle property.
int INFORMATION_DIALOG Constant used for the windowDecorationStyle property.
int NONE Constant used for the windowDecorationStyle property.
int PLAIN_DIALOG Constant used for the windowDecorationStyle property.
int QUESTION_DIALOG Constant used for the windowDecorationStyle property.
int WARNING_DIALOG Constant used for the windowDecorationStyle property.
 

Changed Fields
JButton defaultButton Documentation changed from old to new.
The button that gets activated when the pane has the focus and a UI-specific action like pressing the Enter key occurs.
DefaultAction defaultPressAction Documentation changed from old to new.
As of Java 2 platform v1.3.
DefaultAction defaultReleaseAction Documentation changed from old to new.
As of Java 2 platform v1.3.