Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
prevent close of JDialog except thru my button
Mike Southgate
Ranch Hand
Posts: 183
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I want to eliminate the close button on the title bar of a JDialog. How do I do this?
ms
ms<br />SCJP, SCJD
Rachel Swailes
Ranch Hand
Posts: 434
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I've never tried it myself, but try setUndecorated(true)
Or else you could have a WindowAdapter listening for the close event and then cancel the event.
rachel
Your mother is a hamster and your father smells of tiny ads!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JDialog Dilemma I Have
JDialog without close button
JDialog
Disabling the 'X' button of JDialog
Close a JDialog?
More...