47 |
import javax.accessibility.AccessibleRole; |
import javax.accessibility.AccessibleRole; |
48 |
import javax.swing.plaf.RootPaneUI; |
import javax.swing.plaf.RootPaneUI; |
49 |
|
|
50 |
|
|
51 |
/** |
/** |
52 |
* This class is where JComponents are added to. Unlike awt where you could |
* This class is where JComponents are added to. Unlike awt where you could |
53 |
* just say frame.add(), with swing you need to say frame.getRootPane() |
* just say frame.add(), with swing you need to say frame.getRootPane() |
97 |
protected RootLayout() |
protected RootLayout() |
98 |
{ |
{ |
99 |
} |
} |
100 |
|
|
101 |
/** |
/** |
102 |
* DOCUMENT ME! |
* DOCUMENT ME! |
103 |
* |
* |
227 |
{ |
{ |
228 |
glassPane.setBounds(0, 0, containerSize.width, |
glassPane.setBounds(0, 0, containerSize.width, |
229 |
containerSize.height); |
containerSize.height); |
230 |
contentPane.setBounds(0, 0, containerSize.width, |
contentPane.setBounds(0, 0, containerSize.width, |
231 |
containerSize.height); |
containerSize.height); |
232 |
} |
} |
233 |
|
|
234 |
layeredPane.setSize(containerSize.width, containerSize.height); |
layeredPane.setSize(containerSize.width, containerSize.height); |