private void jList1ValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_jList1ValueChanged
        if (debug && jList1.getSelectedValue() != null)
            logger.log(level.DEBUG, "New device selected: " + jList1.getSelectedValue().toString());
        if (jList1.getSelectedIndex() != -1 || jList1.getSelectedValue() != null) {
            instance.selectedDevice = new Device(jList1.getSelectedValue().toString().trim(), adbController);
            SELECTED_DEVICE = jList1.getSelectedIndex();
            instance.stopDMESG();
            instance.stopLogcat();
            instance.startDMESG(instance.selectedDevice);
            instance.startLogcat(instance.selectedDevice);
            instance.setGetDeviceInfo(false);
            instance.setGetDeviceInfo(true);
        }
    }//GEN-LAST:event_jList1ValueChanged