Results 1 to 3 of 3
- 12-16-2008, 09:21 PM #1
Member
- Join Date
- Dec 2008
- Posts
- 1
- Rep Power
- 0
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
- 12-17-2008, 06:41 AM #2
Just another cross poster
Swing - Tooltip is causing popups to go behind the main screen, how can I fix this?
db
- 12-17-2008, 12:17 PM #3
And
jGuru: Tooltip is causing popups to go behind the main screen, how can I fix this?
Tooltip is causing popups to go behind the main screen, how can I fix this? - CodeGuru Forums
java.net Forums : Tooltip is causing popups to go behind ...
Wonder why JavaRanch was missed... maybe because they have a stated policy on cross posting.
JavaRanch FAQ : Be Forthright When Cross Posting To Other Sites
db
Similar Threads
-
How do you keep multiple popups visible?
By Jacob Abernathy in forum New To JavaReplies: 6Last Post: 09-15-2008, 06:35 PM -
Saving JSP causing redeployment (hot deployment issue?)
By kurt_cobain in forum EclipseReplies: 1Last Post: 06-02-2008, 09:13 PM -
security permissions are causing my sleepless nights.
By willemjav in forum Java AppletsReplies: 2Last Post: 03-08-2008, 07:54 PM -
How to make popups like in eclipse
By ekadosh in forum SWT / JFaceReplies: 0Last Post: 02-04-2008, 07:58 AM -
What could be causing the browser to close?
By Marcus in forum Java AppletsReplies: 2Last Post: 07-04-2007, 07:26 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks