|
I am designing a Status bar for my app using a JPanel. I am trying
to divide the staus bar into different sections using
a vertically oriented JSeparator but for some reason
it is not being drawn on the panel. Here’e the coed where I ad all the components to the
panel…any help would be much appreciated.. public void addPanComponents(){ this.add(statusLabel); js= new JSeparator(); this.add(js, JSeparator.VERTICAL); js.setVisible(true); super.add(coordLabel); js= new JSeparator(); this.add(js, JSeparator.VERTICAL); this.add(synchManipLabel); js= new JSeparator(); this.add(js, JSeparator.VERTICAL); } David |
- Re: [JAVA2D] JSeparator Braun-Friedman, David
- Re: [JAVA2D] JSeparator John Zukowski
