| Author |
Regarding JFrame maximise and minimise
|
tadi raja
Ranch Hand
Joined: Jul 07, 2008
Posts: 109
|
|
Hi All,
I have a JFrame. i want to click on some component in JFrame, JFrame gets maximized (grows) its size and once maximized the JFrame, i want to click on JFrame's Border, it can be minimised (Shrinked). can you please help me how to do this one ?
thanks in advance
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Frame has a method called setExtendedState for this. Check it out.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: Regarding JFrame maximise and minimise
|
|
|