NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
a1n1n1a1
Joined: 27 Jul 2009 Posts: 1
|
Posted: Mon Jul 27, 2009 4:11 am Post subject: jframe size can be set to screensize but the buttons and other things in jframe dont get modified according to the screensize |
|
|
i want to set the size of my jframe equal to the screensize of the monitor being used.I have thus used this:
Toolkit kit = Toolkit.getDefaultToolkit();
Dimension screenSize = kit.getScreenSize();
frame.setSize(screenSize);
the size of jframe fits the screen but the inner things of jframe e.g the buttons and textarea they are not modified according to the size and therefore some of my button appear half in the jframe and half are cut...Please help ...that the jframe should b such that when it is opened in any pc it should b of screensize with normal location of buttons and other things in it.. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|