RandLunch.java
@FXML protected void Quit(ActionEvent event){
      new Timer().schedule(
         new TimerTask() {
            public void run () { System.exit(0); }
         }, 750); 
      output.setText("Enjoy Your Lunch");
   }
//quit the program and tell user to enjoy lunch
quit the program and tell user to enjoy lunch
quit the program and tell user to enjoy lunch
@FXML protected void Quit(ActionEvent event){
      new Timer().schedule(
         new TimerTask() {
            public void run () { System.exit(0); }
         }, 750); 
      output.setText("Enjoy Your Lunch");
   }
@ FXML protected void Quit ( ActionEvent event ) { new Timer ( ) . schedule ( new TimerTask ( ) { public void run ( ) { System . exit ( 0 ) ; } } , 750 ) ; output . setText ( "Enjoy Your Lunch" ) ; }
quit the program and tell user to enjoy lunch
quit the program and tell user to enjoy lunch