Well, I digged into it some more.... Found some tools to see how much space is actually taken up by things like the Windows menu bar.
I can give you a fucntion to retrieve those. You can then do something like:
application.setWindowLocation(0,0);
application.setWindowSize(application.getScreenWidth()-plugins.PBS_Tools.getScreenWidth2(), application.getScreenHeight()-plugins.PBS_Tools.getScreenHight2())
The result is close to the Maximize fucntion. Basically, it just enlarges the window to the maximun available size and places it properly on the screen
A real Maximize function makes the window a bit larger, so borderlines drop off. I could not find any way to get this done....
Java doesn't seem to support that....
Maybe if the Servoians have some pointers.....
Would whatever I have now be interesting to include?
Paul