Added setVisible to the frame constructor