Problems with setting the menubar and a JPanel visible

Printable View