• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to set JFrame size so as to display task bar ?  RSS feed

 
Alagapan Thiagarajan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to set JFrame size so as to display task bar ?
I set the size of the JFrame to be that of the screen size( obtained via Toolkit.getScreenSzie) but the task bar is invisible initialy and gets displayed properly once the JFrame is maximized and restored.
Can anyone kindly tell me whatz to be done so that, when the frame gets displayed for the first time, it assumes the screen size, allowing enough space to display the task bar ?
Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!