intresult=JOptionPane.showOptionDialog(null,"Which role do you take?","Start a Game",JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE,null,options,options[1]);
intresult=JOptionPane.showOptionDialog(null,"Which role do you take?","Start a Game",JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE,null,options,options[1]);