Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Pass bold text in JOPtionPane.showCofirmDialog(null,boldtext,....)

843806Dec 19 2007 — edited Dec 19 2007
I have the code like..
Object message[] = new Object[2];
message[0]="The following Selections have been made:\r\n\r\n";
message[1]=paneScroll(...);
int load = JOptionPane.showConfirmDialog(dialog,message,
"Selections", JOptionPane.YES_NO_OPTION);

.....
if i need "The following Selections have been made:" text to be bold,..what is the code i need to change
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 16 2008
Added on Dec 19 2007
1 comment
647 views