searchsanjaysharma
asked on
How to make the application fix on the desktop.
I want to make my java based window form to appear in such a way so that it occupies whole window, and user is not able to minimize or close the application unless he enters his username and password.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I still believe you cannot do this with Java. The user will still be able to close it if (s)he starts the task manager. The closest you can get is what Valeri suggested.
ah, yes! girionis is right!
task manager also must be disabled before that, with administrator account.
see how:
http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/UserTips/Customization/EnableDisableTaskManagerinWindowsXPHomePro.html
also valid for windows 7
task manager also must be disabled before that, with administrator account.
see how:
http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/UserTips/Customization/EnableDisableTaskManagerinWindowsXPHomePro.html
also valid for windows 7
ASKER
tx
For a full screen windows you can use the full screen exclusive mode API, or set the preferred size to the size of the screen.
You can also set the default close operation (setDefaultCloseOperation)