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

Method splitPane

src/bsh/util/ClassBrowser.java:378–392  ·  view source on GitHub ↗
(
		int orientation,
		boolean redraw,
		JComponent c1,
		JComponent c2
	)

Source from the content-addressed store, hash-verified

376 }
377
378 private JSplitPane splitPane(
379 int orientation,
380 boolean redraw,
381 JComponent c1,
382 JComponent c2
383 ) {
384 JSplitPane sp = new JSplitPane(orientation, redraw, c1, c2);
385 sp.setBorder(null);
386 javax.swing.plaf.SplitPaneUI ui = sp.getUI();
387 if(ui instanceof javax.swing.plaf.basic.BasicSplitPaneUI) {
388 ((javax.swing.plaf.basic.BasicSplitPaneUI)ui).getDivider()
389 .setBorder(null);
390 }
391 return sp;
392 }
393
394 public static void main( String [] args )
395 throws Exception

Callers 1

initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected