NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

setting size of application equal to the size of user's screen in swing

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
cabir



Joined: 08 Sep 2010
Posts: 1

PostPosted: Wed Sep 08, 2010 10:46 am    Post subject: setting size of application equal to the size of user's screen in swing Reply with 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.
Back to top
julsorio



Joined: 05 Jun 2009
Posts: 168
Location: Bogota, Colombia, South America

PostPosted: Thu Sep 09, 2010 6:05 pm    Post subject: setting size of application equal to the size of user's screen in swing Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo