CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: JToolBar

  1. #1
    Join Date
    Jul 1999
    Posts
    47

    JToolBar

    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


  2. #2
    Join Date
    Sep 1999
    Location
    Madurai , TamilNadu , INDIA
    Posts
    1,024

    Re: JToolBar


    Try like this ,



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





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


  3. #3
    Join Date
    Jul 1999
    Posts
    47

    Re: JToolBar

    By using earlier mail statement, i'm not getting vertical line but getting rectangle on the toolbar.

    suggest


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured