do I have to set JFrame as visible code example Example: how to make jframe visible frame.setVisible(true)