private void relockBootloader_fastbootButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_relockBootloader_fastbootButtonActionPerformed
        JOptionPane.showMessageDialog(null, parser.parse("relockBootldr:msg"), parser.parse("lockBootldr:msgTitle"), JOptionPane.INFORMATION_MESSAGE);
        String serial = deviceManager.getSelectedFastbootDevice();
        if (serial == null || serial.equals("")) {
            logger.log(Level.ERROR, "No device was found! Please connect and select an Android device booted into Fastboot-mode!");
            return;
        }
        
        try {
            adbController.getFastbootController().executeFastbootCommand(serial, new String[]{"oem-lock"});
        } catch (IOException ex) {
            logger.log(Level.ERROR, "An error occurred while attempting to re-lock " + serial + ":" + ex.toString() + "\n"
                    + "The error stack trace will be printed to the console...");
            ex.printStackTrace(System.err);
        }
    }//GEN-LAST:event_relockBootloader_fastbootButtonActionPerformed