Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding JFrame maximise and minimise

 
tadi raja
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frame has a method called setExtendedState for this. Check it out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic