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

Seeting the size of JFrame  RSS feed

 
Leela murthy
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any body help me setting the size of JFrame to window's(desctop) size

thanks in advance
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);

this sort of question is best answered by looking at the api docs,
particularly "Methods Inherited from..." for Swing components
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!