Results 1 to 3 of 3
  1. #1
    nAzGiRl is offline Member
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0

    Smile Tooltip is causing popups to go behind the main screen, how can I fix this?

    Hello,
    I'm facing a tooltip issue at work which I can't seem to reproduce in my stand-alone codes. Basically, I have a panel that contains a table with headlines. When I move the mouse through the headlines, if any popup or window is open on the main application, the tooltip causes it to go behind the app. The tooltip is implemented using the setToolTipText(String str) method in a JTable's renderer, which eventually extends DefaultTableCellRenderer; when I comment out this line, the problem seems to go away, and when I put it back I see the problem happening again. Here's what I've tried so far:

    1) Removed setToolTipText() line in the renderer code, and replaced it with getToolTipText(MouseEvent e) in the table class, itself.
    2) Removed setToolTipText() line and tried using a JWindow instead in the renderer, where I set the JWindow text to the renderer's value.

    I know that it's the tooltip that causes the problem, and the two alternatives produce the same problem, and I don't know what else I should try.
    Does anyone have any suggestions? I've been stuck with this assignment for over a week now and the deadline has passed. If anyone has any suggestions or ideas to offer, I'd very much appreciate it.
    Thanks in advance!
    *~Nazli

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

Similar Threads

  1. How do you keep multiple popups visible?
    By Jacob Abernathy in forum New To Java
    Replies: 6
    Last Post: 09-15-2008, 06:35 PM
  2. Replies: 1
    Last Post: 06-02-2008, 09:13 PM
  3. security permissions are causing my sleepless nights.
    By willemjav in forum Java Applets
    Replies: 2
    Last Post: 03-08-2008, 07:54 PM
  4. How to make popups like in eclipse
    By ekadosh in forum SWT / JFace
    Replies: 0
    Last Post: 02-04-2008, 07:58 AM
  5. What could be causing the browser to close?
    By Marcus in forum Java Applets
    Replies: 2
    Last Post: 07-04-2007, 07:26 AM

Posting Permissions

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