javax.swing
Class JRootPane.RootLayout
java.lang.Object
|
+--java.awt.BorderLayout
|
+--javax.swing.JRootPane.RootLayout
protected static class
JRootPane.RootLayoutextends
BorderLayout 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:- Ronald Veldema (rveldema@cs.vu.nl)
preferredLayoutSize
public Dimension preferredLayoutSize(java.awt.Container c)
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:- Ronald Veldema (rveldema@cs.vu.nl)
Parameters: