diff --git a/config/plugins.properties b/config/plugins.properties index b70ed6a..085b8d3 100644 --- a/config/plugins.properties +++ b/config/plugins.properties @@ -1,2 +1,2 @@ -#Wed May 27 14:33:22 CEST 2015 +./home/plugins/HystScan.java=enabled ./home/plugins/EnergyScan.java=enabled diff --git a/plugins/EnergyScan.java b/plugins/EnergyScan.java index 6cef62a..c0fb3fe 100644 --- a/plugins/EnergyScan.java +++ b/plugins/EnergyScan.java @@ -15,7 +15,6 @@ import javax.swing.DefaultComboBoxModel; import javax.swing.JLabel; import ch.psi.utils.Chrono; import ch.psi.utils.State; -import ch.psi.utils.swing.SwingUtils; import ch.psi.utils.swing.DsvEditor; import ch.psi.utils.swing.Editor.EditorDialog; import ch.psi.pshell.core.Controller.ControllerStateException; @@ -111,7 +110,7 @@ public class EnergyScan extends Panel { } } catch (Exception ex) { getLogger().log(Level.WARNING, null, ex); - SwingUtils.showException(this, ex); + showException(ex); } } @@ -211,7 +210,7 @@ public class EnergyScan extends Panel { } } } catch (Exception ex) { - SwingUtils.showException(this, ex); + showException(ex); ex.printStackTrace(); } } @@ -805,7 +804,7 @@ public class EnergyScan extends Panel { } run(); } catch (Exception ex) { - SwingUtils.showException(this, ex); + showException(ex); } }//GEN-LAST:event_buttonExecuteActionPerformed @@ -821,7 +820,7 @@ public class EnergyScan extends Panel { setRunType(); } } catch (Exception ex) { - SwingUtils.showException(this, ex); + showException(ex); } }//GEN-LAST:event_comboSetupActionPerformed @@ -840,7 +839,7 @@ public class EnergyScan extends Panel { dlgConfig.setSize(680, 320); showWindow(dlgConfig); } catch (Exception ex) { - SwingUtils.showException(this, ex); + showException(ex); } }//GEN-LAST:event_buttonConfigureActionPerformed @@ -859,7 +858,7 @@ public class EnergyScan extends Panel { } setRunType(); } catch (Exception ex) { - SwingUtils.showException(this, ex); + showException(ex); } }//GEN-LAST:event_comboRunTypeActionPerformed @@ -873,7 +872,7 @@ public class EnergyScan extends Panel { startPlot(); plot(); } catch (Exception ex) { - SwingUtils.showException(this, ex); + showException(ex); } }//GEN-LAST:event_buttonPlotActionPerformed