Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / February 2006

Tip: Looking for answers? Try searching our database.

ToolTipText problem

Thread view: 
tallintheair - 10 Feb 2006 13:21 GMT
In my Java Applet whenever toolTipText appears everything behind it
goes blank. When the mouses moves away from the toolTipText area
everything appears again. Any ideas what the problem could be?

Cheers
Oliver Wong - 10 Feb 2006 15:12 GMT
> In my Java Applet whenever toolTipText appears everything behind it
> goes blank. When the mouses moves away from the toolTipText area
> everything appears again. Any ideas what the problem could be?

   Perhaps in the source code, you typed in something you shouldn't have,
or you didn't type in something you should have.

See: http://mindprod.com/jgloss/sscce.html

   - Oliver
Roedy Green - 10 Feb 2006 20:59 GMT
>In my Java Applet whenever toolTipText appears everything behind it
>goes blank. When the mouses moves away from the toolTipText area
>everything appears again. Any ideas what the problem could be?

Seems to me that is expected behaviour. How would you read the black
text on a black background if the tool tip did not bring its own
background with it?

Are you talking of some bigger blank-out?

Does your tooltip have a lot of lead or trail whitespace?
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

tallintheair - 13 Feb 2006 09:14 GMT
Yes you can see the tooltip background. But while the tooltip is shown
the rest of the screen is blank. It doesn't lead or trail any white
space.

Apologies that I can't post any code. The program is far too large and
my understanding of it is far too small. I'm hoping that someone has
come across a similar problem

Phil
Oliver Wong - 13 Feb 2006 14:37 GMT
> Yes you can see the tooltip background. But while the tooltip is shown
> the rest of the screen is blank. It doesn't lead or trail any white
[quoted text clipped - 3 lines]
> my understanding of it is far too small. I'm hoping that someone has
> come across a similar problem

   You could try making a copy of your project, and ripping out entire
chunks of it until you can reproduce the tooltip problem in a single file,
and then trimming that file down to 20 lines or so. By doing this, you will
accomplish some or all of the following:

   (*) Determined where the problem lies yourself.
   (*) Gain a better understanding of how the program as a whole works.
   (*) Reduced your program to an SSCCE that you could post here if you're
still stuck.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.