Doubt about screen height
Hello, everybody!
To set the size of the main window of my application I use the following code:
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
setSize(screenSize.width, screenSize.height);
That's working very well. But is there a way that I can subtract from the height
of the window the height of the program bar (that one that in Windows has the
Start button), to get something like screenSize.height - programBarHeight? It
doesn't matter for me if I can get this with some trick, but I just would like
that the solution was platform independent.
Thank you very much.

