posted 15 years ago
Hi Mani,
In JFrame you can disable the Resize button as well as the Close button but can not override the minimize button.
We can not hide these 3 buttons also.
To disable the Resize Button and Close button , you have to write below code.
If you want to Hide the Minimize Button and Resize Button then in place of JFrame use JDialog, It will show only the close button.
and to Disable the Close Button use the above code...
If you want to hide all these 3 button present in Title bar then use Window Class
Regards
Binaya