Re: Maximize an application window on startup
"Sandy " <firstname.lastname@example.org> wrote:
>I would like to know how to maximize a JFrame window in a Java application.
>Please provide code examples.
I am assuming you want the screen at full size when you show it:
JFrame sandyFrame = new SandyFrame(); //some frame of yours...
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Did not try it but should work, I do similar code to center on screen via
frame location property.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL