package gui; import javax.swing.*; public class ControlWindow { private JFrame controlWindow; public ControlWindow(){ controlWindow = new JFrame(); controlWindow.setVisible(true); controlWindow.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE); } }