Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2008, 09:28 AM
Member
 
Join Date: Aug 2008
Posts: 1
Rep Power: 0
ramaro is on a distinguished road
Default problem to use ToolTipText
Hi,

I try to display a tooltiptext on a buton. And I encounter some problem. I have coded like this :


Code:
cmd_return.setToolTipText("<html><head></head><body bgcolor = " +
"\"#99c015\" font color = \"#f6fa4b\" " +
"style=\"margin-top:0px;margin-bottom:0px;" +
"margin-left:10px;margin-right:10px\">" +
"Ce bouton permet de retourner<br> vers " +
"la fenêtre précédente</body></html>");
the background color doesn't occupe the maximum of body area.
You see in the tooltiptext a blue color , 10px margin on left and right. I think it's the default color of
the tooltiptext.

you can see the gif image in attach file.

Some one can help me. plz
Attached Images:
File Type: gif tooltiptext.gif (2.9 KB, 6 views)
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Help Using ToolTipText Please Renegade85 New To Java 5 04-28-2008 11:25 AM


All times are GMT +2. The time now is 01:24 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org