PDA

Click to See Complete Forum and Search --> : How to hide both the MINIMIZE and MAXIMIZE buttons from a window?


goguest
Mar 10th, 2002, 07:45 PM
Is there anyway that I could use to remove the MINIMIZE and MAXIMIZE buttons up the top right coner of a window ?

crptcblade
Mar 10th, 2002, 07:56 PM
Are we talking AWT, or Swing?

crptcblade
Mar 10th, 2002, 08:16 PM
It would appear not to matter if you are using Frame or JFrame.

If you are extending Frame or JFrame just use:

this.setResizable(false);


:)

goguest
Mar 14th, 2002, 12:00 AM
Thanx for the advice ... but I've figured out to use a Dialog instead of a Frame to build the window.