Disposing JFrame while using extends

Printable View