Results 1 to 2 of 2
  1. #1
    nathic is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default JToolBar make it non-draggable

    Hello

    I'm trying to get my JToolBar non-draggable (make it fixed to my panel)
    somehow I expected an option like setDraggable() but couldn't find that.

    Thanks in advance

  2. #2
    nathic is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Default

    Found it out ..

    theres an option on the JToolBar object - setFloatable()

    this must be turned "false"

Similar Threads

  1. ActionListener for JToolBar components
    By LianaN in forum New To Java
    Replies: 6
    Last Post: 09-18-2010, 02:37 PM
  2. Replies: 3
    Last Post: 07-14-2010, 11:34 PM
  3. JToolbar: How to unselect first item
    By mjones in forum AWT / Swing
    Replies: 4
    Last Post: 02-19-2010, 03:56 AM
  4. Canvas with draggable window
    By shravan28 in forum SWT / JFace
    Replies: 1
    Last Post: 03-24-2009, 08:11 AM
  5. JToolBar movable but not floatable
    By Fosters in forum AWT / Swing
    Replies: 0
    Last Post: 08-22-2008, 04:04 PM

Tags for this Thread

Posting Permissions

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