MCPcopy Create free account
hub / github.com/beanshell/beanshell / labeledPane

Method labeledPane

src/bsh/util/ClassBrowser.java:265–270  ·  view source on GitHub ↗
( JComponent comp, String label )

Source from the content-addressed store, hash-verified

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 {

Callers 1

initMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected