Results 1 to 3 of 3
  1. #1
    Glovergg is offline Member
    Join Date
    Jun 2010
    Rep Power

    Thumbs down Tooltip text showing through panel

    I have three panels on a JLayeredPane.
    'topPanel' is at layer 3, 'middlePanel' is at layer 2, and 'bottomPanel' is at layer 1.
    'topPanel' can be expanded and overlaps the 'middlePanel'.

    My problem is that when I move the mouse around on 'topPanel', the 'tooltip' text on the controls of the 'middlePanel' appear through the 'topPanel' when it is expanded and overlaps the 'middlePanel'.

    'topPanel' and all it's child panels have their opaque value set to 'true', but the tooltip text can still be seen.

    Any ideas would be much appreciated, many thanks,


  2. #2
    Webuser is offline Senior Member
    Join Date
    Dec 2008
    Rep Power



    It is all because of your layers' position... tooltip is always located on the Window layer so it is quite natural you can see it through your top panel =)
    you can program not to show it when the top panel is above :)
    If my answer helped you. Please click my "REP" button and add a comment
    Have a Good Java Coding :)

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


    To get better help sooner, post a SSCCE * that clearly demonstrates your problem.
    * SSCCE : Java Glossary

    Use code tags to post codes.


Similar Threads

  1. Adding a panel to a panel
    By rclausing in forum New To Java
    Replies: 7
    Last Post: 02-02-2010, 06:56 AM
  2. Working with Tooltip Text
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-26-2008, 07:41 PM
  3. Need Help showing text in JTextArea
    By GuyFawkes in forum AWT / Swing
    Replies: 3
    Last Post: 05-05-2008, 09:19 AM
  4. Why the panel text changed?
    By ottawalyli in forum AWT / Swing
    Replies: 1
    Last Post: 12-17-2007, 06:56 AM
  5. Why the panel text changed?
    By ottawalyli in forum SWT / JFace
    Replies: 0
    Last Post: 12-16-2007, 05:16 PM

Posting Permissions

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