This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to print into new line with tooltip ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to print into new line with tooltip ?" Watch "how to print into new line with tooltip ?" New topic
Author

how to print into new line with tooltip ?

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 688

when ever i display a long message in tooltip it appears in one straight line even though i write "\n" code
like in this all the string appears in one line
but suppose to be at new line
how to do that ? with tooltip ?


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10175
    
    8

Try using the html br tag


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
wood burning stoves
 
subject: how to print into new line with tooltip ?
 
Similar Threads
Multiline tool tip for Mozilla browser
How to set next line in ToolTip
Writing a file and executing
need to render tooltip with <f:selectItems> used with <h:selectOneMenu>
catching null in a StringTokenizer