Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Resizing JFrame according to screen resolution

843810Aug 14 2008 — edited Jan 31 2009
I have developed a desktop application using netbeans 6.1.Screen works fine for 1024x768 pixels but when i change the resolution or when i execute the application on a different machine which has got a lesser resolution the components disappear and they are not displayed properly.I have used Free Design Layout for desiging my screens.Is there any issue with the layout used?.I have used ToolKit to get the screen size and tried setting the dimensions using setPreferredSize()/setSize() but nothing works.Could any one help me with a solution?


Thanks in advance

Regards
Nivetha
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 28 2009
Added on Aug 14 2008
9 comments
1,674 views