title: Actual size of JFrame
body: <p>I have made a JFrame clearly through Java and set the size so that it is as large as possible on the screen.  For instance I will use Toolkit.getDefaultToolkit().getScreenSize() to set the size of the JFrame, but because of the menu bar / dock etc. (in windows and mac) it gets resized to fit the screen.  How would I be able to get this new dimension, which the JFrame defaults to?</p>