Windows extends JFrame instead containing a JFrame