Click to See Complete Forum and Search --> : JToolBar


sat
October 9th, 1999, 06:39 AM
I'm using JDK1.2 classes. How to put a vertical line inbetween group of buttons on jtoolbar.

if i use seperator , it's showing empty space.but i need Vertical line

please suggest

sat

poochi
October 9th, 1999, 01:34 PM
Try like this ,



MyToolBar.add( new JSeparator( SwingConstants.VERTICAL ));





This will add a vertical line in your toolbar ( I am using JDK1.2.2).

sat
October 13th, 1999, 07:53 AM
By using earlier mail statement, i'm not getting vertical line but getting rectangle on the toolbar.

suggest