code: @Override
      public void actionPerformed(ActionEvent event) {
          if (event.getSource().equals(LED_BLINKING_TIMER)) {
              currentLedImage = ledOn == true ? getLedImageOn() : getLedImageOff();
              ledOn ^= true;
  
              repaint();
          }
      }
docs: <editor-fold defaultstate="collapsed" desc="Action listener method">