NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
cabir
Joined: 08 Sep 2010 Posts: 1
|
Posted: Wed Sep 08, 2010 10:46 am Post subject: setting size of application equal to the size of user's screen in swing |
|
|
Hi all
I am developing an application in swing. I want to set the size of the application equal to the size of the user's screen.
The same thing can be done using coding as follows:
JFrame rootFrame = new JFrame("My Application");
rootFrame.setSize(rootFrame.getToolkil().getScreenSize());
I want to know how we can do this in netbeans.
Any help is most welcome. |
|
| Back to top |
|
 |
julsorio
Joined: 05 Jun 2009 Posts: 168 Location: Bogota, Colombia, South America
|
Posted: Thu Sep 09, 2010 6:05 pm Post subject: setting size of application equal to the size of user's screen in swing |
|
|
On 8 September 2010 05:47, cabir <address-removed ([email]address-removed[/email])> wrote:
| Quote: | Hi all
I am developing an application in swing. I want to set the size of the application equal to the size of the user's screen.
The same thing can be done using coding as follows:
JFrame rootFrame = new JFrame("My Application");
rootFrame.setSize(rootFrame.getToolkil().getScreenSize());
I want to know how we can do this in netbeans.
Any help is most welcome.
------------------------
---
Cabir
loves swing
|
Greetings
What IDE did you use to develop your swing app?
I'm sorry, but NetBeans has nothing to do with it... it just helps you to develop.
Maybe you developed your app in a different IDE and you want to migrate it to NetBeans
NetBeans has a tool called Matisse to help developers with app visual design
--
Julian Osorio Amaya
Universidad Libre.Ingenier |
|
| 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
|
|