private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        try {
            List<String> args = new ArrayList<>();
            args.add("connect");
            if (!jFormattedTextField1.getText().equals("")) {
                args.add(jFormattedTextField1.getText() + ":" + jFormattedTextField2.getText());
            } else {
                args.add(jFormattedTextField1.getText());
            }
            
            String[] _args = new String[args.size()];
            args.toArray(_args);
            
            logger.log(Level.INFO, "ADB Output: " + adbController.executeADBCommand(false, false, "", _args));
        } catch (IOException ex) {
            logger.log(Level.ERROR, "An error occurred while trying to connect to the device: " +  ex.toString() + "\n"
                    + "The error stack trace will be printed to the console...");
            ex.printStackTrace(System.err);
        }
    }//GEN-LAST:event_jButton1ActionPerformed