public void start() throws IOException { this.requestFocus(); matchManager.setHowToPlay(howToPlay, save); matchManager.start( new Runnable() { @Override public void run() { repaint(); } }); }