Can a JFrame dispose itself?

Printable View