Results 1 to 1 of 1
  1. #1
    ramaro is offline Member
    Join Date
    Aug 2008
    Posts
    1
    Rep Power
    0

    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 :


    Java 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 Thumbnails Attached Thumbnails problem to use ToolTipText-tooltiptext.gif  

Similar Threads

  1. [SOLVED] Help Using ToolTipText Please
    By Renegade85 in forum New To Java
    Replies: 5
    Last Post: 04-28-2008, 11:25 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
  •