Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes How to display  bold text  in JOptionPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to display  bold text  in JOptionPane" Watch "How to display  bold text  in JOptionPane" New topic
Author

How to display bold text in JOptionPane

nagaraju Reddy
Greenhorn

Joined: Jul 05, 2005
Posts: 4
How can i display part of text in bold format in JOptionPane.showConfirmDialog();
??
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780

The default JLabel font on my machine seems to be bold, so I set a different font.


There is no emoticon for what I am feeling!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display bold text in JOptionPane
 
Similar Threads
Format text in JTextArea
Enabling Font-urgent
Enabling font-urgent
jsp
formatting text using javascript