private void formWindowActivated(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowActivated
        if (!ALREADY_ACTIVATED) {
            if (debug)
                logger.log(level.DEBUG, "First-time activation: Starting logcat and DMESG.");
            if (selectedDevice != null) {
                getLogcat(selectedDevice);
                getDMESG(selectedDevice);
                getBatteryInfo();
                getRootInfo();
                getCPUUsage();
                
                DefaultListModel model = new DefaultListModel();
                
                for (String obj : listFiles(directoryLabel_fileManagerLabel.getText())) {
                    if (obj.equals("extSdCard") || obj.equals("external_sd") || obj.equals("sdcard"))
                        obj += "/";
                    model.addElement(obj);
                }
                
                jList1.setModel(model);
            }
            
            ALREADY_ACTIVATED = true;
        }
    }//GEN-LAST:event_formWindowActivated