aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Disable JFrame" Watch "Disable JFrame" New topic

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?

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:
subject: Disable JFrame
Similar Threads
how to disable the top bar in a Frame
how to disable minimize option in JFrame
Minimize button in JFrame
JFrame disable minimize button (jdk1.3)
JFrame close property