221222223224225226227228229230231
randomizer = new Random(); logger = new MessageBuffer(); //Initialize Display gui = new GameUI(TITLE); gui.setFocusable(true); if(!gui.hasFocus()) gui.requestFocus(); gui.addKeyListener(this);