949596979899100101
JOptionPane.QUESTION_MESSAGE); //limit to 33 characters otherwise it's ugly if(s == null) s = ""; //$NON-NLS-1$ Player p = new Player(s.substring(0, s.length() < 33 ? s.length() : 33)); Game g = new Game(p, brickBreaker); brickBreaker.newGame(g); }