@Override
    public void actionPerformed(ActionEvent e) {
        if (null != e.getActionCommand()) switch (e.getActionCommand())
       {
           case "SBT":
               mfi.setSpeedBrakeTest(true, display);
               break;
           case "EBT":
               mfi.setEmergencyBrakeTest(true, display);
               break;
           case "FOT":
               mfi.setFireOpsMode(true, display);
               break;
           case "MOT":
               mfi.setMxOpsMode(true, display);
               break;
           case "PDT":
               mfi.setPowerDegradedMode(true, display);
               break;
           case "POT":
               mfi.setPowerOutMode(true, display);
               break;
           case "reset":
               mfi.setReset(display);
               break;
        }   
    }