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!

JDialog - change border color?

843806Dec 27 2008 — edited Dec 27 2008
Hi!

Im trying to change the border color of a jdialog box. There is no setBorder method as there is for other components... also if I use getContentPane() - there is still no setBorder function that I can access.

I figure that I can make a custom border object and use it in the program - but perhaps this is the wrong way to accomplish this...

any ideas?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2009
Added on Dec 27 2008
2 comments
601 views