File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
close option in JDialog
Joined: Mar 29, 2004
Apr 27, 2004 08:21:00
how can i provide a JDialog that doesn't have a close option (the 'x' in the top right corner of the frame)?
Thanks for the help!!
Joined: Jul 11, 2001
Apr 27, 2004 09:04:00
No, but you can make it so that the x doesn't do anything.
The other option is you could just use a JWindow which most people use for a splash screen as it has not "Title Bar" at all.
GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: close option in JDialog
disable previous JFrame upon new JFrame popup
Icon for the title frame of the JDialog
I want to disable the Minimize / Maximize options on the System Menu
regarding JDialog .
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014