StackOverflowError when hiding the first of two Swing GUIs?

Printable View