Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.swing

Class JRootPane.AccessibleJRootPane

java.lang.Object
|
+--javax.swing.JRootPane.AccessibleJRootPane


protected static class JRootPane.AccessibleJRootPane

extends Object

This class is where JComponents are added to. Unlike awt where you could just say frame.add(), with swing you need to say frame.getRootPane() (which delivers an instance of this class) and add your components to that. It is implemented by several 'layers' (pane() should be read as plane()) each on top of the others where you can add components to. (getContentPane(), getGlassPane(), getLayeredPane())

Author: