wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Disable JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Disable JFrame" Watch "Disable JFrame" New topic
Author

Disable JFrame

Jennifer Sohl
Ranch Hand

Joined: Feb 28, 2001
Posts: 455
Hi. I am having a problem figuring out how to disable a JFrame. It's kind of tricky.
We have an application we created strictly for shop floor data collection. This application is going to be running on a PC on our shop floor.
We do not want the employees to be able to close out of this application, or even minimize it. So, I decided we could disable the close and minimize buttons on the frame. But if we do that, and we (administrators) need to close the app for some reason, how would we do it without ending the app through task manager?
Any suggestions?

Thanks!
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Jennifer Sohl
Ranch Hand

Joined: Feb 28, 2001
Posts: 455
Works great, Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disable JFrame