<AWT Dev> Why does JFrame.setSize conflict with JFrame.setExtendedState?
linuxhippy at gmail.com
Tue Mar 25 09:59:17 PDT 2008
I have some code which first sets the size of a JFrame, was well as it
setSize(new Dimension(800, 600));
I wonder wether this combination is "legal", because I always get
different results with XAWT and also MAWT. No matter how I order the
setSize/setExtendedState it seems to completly random.
Sometimes I get a 800x600 window, somtimes its macimized and very
seldom I get a window which is ~50px high and maximized horizontal.
Shouldn't it simply open a 800x600 window and resize that to
fullscreen once it has been realized on the native side? Whats going
My window-manager is KDE-3.5.8.
More information about the awt-dev