Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Maximise JFrame  RSS feed

 
Martin webster
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
Does anyone know if it is possible to programmatically maximise JFrame ?
There appears to be a setState(int state) accepting Frame.Normal and Frame.Iconified... but no maximised.
 
Amit Agarwal
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Martin,
there is nothing that is available till jdk1.3 that can maximise a JFrame programmatically, but you have a setExtendedState() available in jdk1.4 that will do your stuff.
Amit
 
Martin webster
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks....
I guess I'll wait until we move to 1.4...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!