Hello, I have some code which first sets the size of a JFrame, was well as it maximizes it: setSize(new Dimension(800, 600)); setVisible(true); setExtendedState(JFrame.MAXIMIZED_BOTH);
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 on here? My window-manager is KDE-3.5.8. Thanks, Clemens
