public static void main(String[] args) { // checkFileSystem(); EditorFrame frame = new EditorFrame(); frame.setTitle("Red VS Blue Editor"); frame.setLocationRelativeTo(null); // Center the frame frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); frame.setFocusable(true); }