+1  A: 

You can find the frame insets by calling the getInsets method (defined in Container). Frame insets are discussed at the top of the Frame API docs.

Tom Hawtin - tackline
+1  A: 

So you want to paint the whole area and dont want a title bar at all?

Asuming that you use JDk 1.4 (at least) then you can declare the frame to be "undecorated" (java.awt.Frame#setUndecorated(boolean)). This way no title bar is created and therefore the frames paintable area is the same as the frames consumed area.