// Select, Clear, and Next Buttons
 @Override
 public void buttonActionPerformed(ActionEvent ae) {
   if (ae.getSource() == nextButton) {
     nextButtonAction();
   }
   super.buttonActionPerformed(ae);
 }
Exemplo n.º 2
0
 // Save, Delete, Add
 @Override
 public void buttonActionPerformed(java.awt.event.ActionEvent ae) {
   if (ae.getSource() == moveButton) {
     _train.move();
     return;
   }
   super.buttonActionPerformed(ae);
 }