question: public void displayInWindow ( Frame owner ) { Dimension dim = getComponentSize ( ) ; if ( dim != null ) { content . setSize ( dim ) ; } displayInWindow ( owner , - 1 , - 1 , - 1 , - 1 ) ; }
target:  Display the window, and find out what the natural or revised size and location are for the window.