How to Maximize Frame or Window?
2 posts in topic
Flat View  Flat View

Posted By:   Eric_Bredtmann
Posted On:   Monday, March 18, 2002 07:57 AM

Hi all,

I was trying to maximize a window or a frame with JDK 1.2 or 1.3.

Currently I use JDK 1.3.1, but when I am trying to use the method


The window is only displayed full-screen, but not MAXIMIZED , which means, the maximize-button in the upper right hand corner of the window is still available for maximizing the window.

Anyone who could help me with this, please?

Thanks in advance,

Re: How to Maximize Frame or Window?

Posted By:   Aruna_Kalagnanam  
Posted On:   Friday, March 22, 2002 01:27 AM

It is possible to do it using Java 1.4.using the setExtendedState(MAXIMISED_BOTH) function.

Heres a sample...

public class SampleFrame extends Frame

public static void main(String args[])
SampleFrame samp = new SampleFrame();




Re: How to Maximize Frame or Window?

Posted By:   mario_petr  
Posted On:   Tuesday, March 19, 2002 12:13 AM

im sorry but you don't has a chance
kind regards
About | Sitemap | Contact