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!

problem about setUndecorated(true) for JDialog

843806May 2 2009 — edited May 2 2009
I have a error when I use:
setUndecorated(true)
for JDialog ( if using for JFrame is no problem):
This error:

Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: The dialog is displayable.
+ at java.awt.Dialog.setUndecorated(Unknown Source)+

Please help me
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 30 2009
Added on May 2 2009
3 comments
3,371 views