private void btnOkayActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_btnOkayActionPerformed
   // now round to the nearest increment (up)
   int value = CurAmmo;
   if (value > Ammo.GetMaxLotSize()) {
     value = Ammo.GetMaxLotSize();
   }
   if (value < 1) {
     value = 1;
   }
   Ammo.SetLotSize(CurAmmo);
   result = true;
   setVisible(false);
 } // GEN-LAST:event_btnOkayActionPerformed