public void actionPerformed(ActionEvent e){
  GraphicsEnvironment.getLocalGraphicsEnvironment();
  if (!GraphicsEnvironment.isHeadless()) {
    if (UI == null) {
      UI=new UserInterface();
    }
 else {
      UI.setVisible(true);
    }
  }
 else {
    new FacelessServer();
  }
}

public void actionPerformed ( ActionEvent e ) { GraphicsEnvironment . getLocalGraphicsEnvironment ( ) ; if ( ! GraphicsEnvironment . isHeadless ( ) ) { if ( UI == null ) { UI = new UserInterface ( ) ; } else { UI . setVisible ( true ) ; } } else { new FacelessServer ( ) ; } }
start the server end of withrottle .
