Hi

Our application is running under JDK 1.1.8 / Swing 1.1.1 in various
environments.

The topframe is a JFrame which is being 'maximized' using this code:

this.move(0,0);
resize(Toolkit.getDefaultToolkit().getScreenSize());

This works fine for all other environments than Win32. Under Win32 it
doesn't respect the toolbar.

If the user either selects the maximize button or selects maximize from
system menu, it works as it is supposed to.

anybode knows how to send the 'maximize me' message to the JFrame, or a
hack that wil work the same way?

(i have tried by guessing the size of  the toolbar and subtracting that
from the toolkit screensize, but that it not always correct or maybe the
user has a doublesize toolbar).

thanks in advance and kind regards

Peter Tilsted
Projekt Storkundel�nsomhed, 5094
tlf: +45 3333 4982
Email: [EMAIL PROTECTED]

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to