Adding a Tooltip in JSplitPane


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Adding a Tooltip in JSplitPane

  1. #1
    Join Date
    Feb 2004
    Posts
    1

    Adding a Tooltip in JSplitPane

    I am looking for a way to add a tooltip and/or name to the divider in a JSplitPane. I do not know if it is even possible to do this.

  2. #2
    Join Date
    Feb 2004
    Posts
    13

    SplitPane

    Depends on what you put on or in your splitPane I think...
    If you put a label or somthing on your Pane you have to add the ToolTip on that label...
    Hope you get it... don't know much about it but just want to help...
    ex.

    command.addActionListener(this);
    this.add(command, BorderLayout.NORTH);
    command.setToolTipText("Geef een SQL commando ");

  3. #3
    Join Date
    Feb 2004
    Posts
    808
    or you could use mouseOver events on the splitpane to work out where the pointer is, and show a tooltip when it is in the right place..
    The 6th edict:
    "A thing of reference thing can hold either a null thing or a thing to any thing whose thing is assignment compatible with the thing of the thing" - ArchAngel, www.dictionary.com et al.
    JAR tutorial GridBag tutorial Inherited Shapes Inheritance? String.split(); FTP?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center