( JComponent comp, String label )
| 263 | } |
| 264 | |
| 265 | JPanel labeledPane( JComponent comp, String label ) { |
| 266 | JPanel jp = new JPanel( new BorderLayout() ); |
| 267 | jp.add( "Center", comp ); |
| 268 | jp.add( "North", new JLabel(label, SwingConstants.CENTER) ); |
| 269 | return jp; |
| 270 | } |
| 271 | |
| 272 | public void init() throws ClassPathException |
| 273 | { |