A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
RabbitMQ in Depth
this week in the
Swing / AWT / SWT
how to print into new line with tooltip ?
Joined: Jul 03, 2011
Dec 09, 2011 12:14:18
when ever i display a long message in tooltip it appears in one straight line even though i write "\n" code
JOptionPane(frame,"And i m " + " "+ "\n" + "how are you");
in this all the
appears in one line
"how are you"
suppose to be at new line
how to do that ? with tooltip ?
The Only way to learn is ...........do!
Visit my blog
Joined: Jul 26, 2007
Dec 09, 2011 19:48:32
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:
subject: how to print into new line with tooltip ?
Writing a file and executing
catching null in a StringTokenizer
How to set next line in ToolTip
Multiline tool tip for Mozilla browser
need to render tooltip with <f:selectItems> used with <h:selectOneMenu>
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015