Closedown

This commit is contained in:
x07maop
2015-06-30 09:17:11 +02:00
parent 595d961440
commit 6a26b35e69

View File

@@ -27,6 +27,7 @@ import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Properties;
import java.util.logging.Level;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JLabel;
import javax.swing.JPanel;
@@ -115,7 +116,8 @@ public class EnergyScan extends Panel {
}
break;
}
} catch (Exception ex) {
} catch (Exception ex) {
getLogger().log(Level.WARNING, null, ex);
SwingUtils.showException(panel, ex);
}
}
@@ -243,7 +245,7 @@ public class EnergyScan extends Panel {
String expandPath(String path) {
long time = System.currentTimeMillis();
String mode;
if (comboMode.getSelectedIndex() == 0) {
if (comboMode.getSelectedIndex() == 0) {_
mode = "plus";
} else if (comboMode.getSelectedIndex() == 1) {
mode = "minus";
@@ -815,7 +817,7 @@ public class EnergyScan extends Panel {
}
run();
} catch (Exception ex) {
SwingUtils.showException(this, ex);
ex.printStackTrace(); SwingUtils.showException(this, ex);
}
}//GEN-LAST:event_buttonExecuteActionPerformed