dcsimg
Disable / remove close(X) button in JDialog
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, January 20, 2006 04:47 PM

How can i remove the close(X) button in JDialog ?


I'have used setUndecorated(true) and

setDefaultLookAndFeelDecorated(false)

but it removes the entire title bar.

I don't want that to happen.



Thanks in advance...

Re: Disable / remove close(X) button in JDialog

Posted By:   Almagest_FUTT  
Posted On:   Monday, January 23, 2006 05:38 AM

AFAIK, you can't do that in Swing. I seem to remember it was possible with SWT, maybe it is with AWT (don't think so).
About | Sitemap | Contact