File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 682

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: 9990
    
    7

Try using the html br tag


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to print into new line with tooltip ?
 
Similar Threads
catching null in a StringTokenizer
How to set next line in ToolTip
Writing a file and executing
Multiline tool tip for Mozilla browser
need to render tooltip with <f:selectItems> used with <h:selectOneMenu>