This commit is contained in:
gac-x11ma
2020-12-17 10:07:52 +01:00
parent 6048ab2c34
commit d1f7bad75d
3 changed files with 15 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
#Thu Dec 17 09:26:47 CET 2020
#Thu Dec 17 10:02:51 CET 2020
HARMONIC_ID_1=1
RSYNC_USER=
OUTLIERS_THRESHOLD=1000000000

View File

@@ -1271,9 +1271,6 @@
<Column editable="true" title="Step" type="java.lang.Double"/>
</Table>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[150, 0]"/>
</Property>
</Properties>
</Component>
</SubComponents>

View File

@@ -154,8 +154,7 @@ public class DataAcquisition extends Panel {
textOutliersMask.setText(String.valueOf(getSetting("OUTLIERS_MASK_FILE")));
} catch (IOException ex) {
showException(ex);
}
}
} }
@Override
public void onStateChange(State state, State former) {
@@ -1226,7 +1225,6 @@ public class DataAcquisition extends Panel {
return types [columnIndex];
}
});
tableRegions.setPreferredSize(new java.awt.Dimension(150, 0));
jScrollPane2.setViewportView(tableRegions);
buttonAdd.setText("Add");
@@ -1594,14 +1592,22 @@ public class DataAcquisition extends Panel {
}//GEN-LAST:event_buttonTriggerDetectorActionPerformed
private void buttonAddActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonAddActionPerformed
modelRegions.addRow(new Object[]{Double.NaN, Double.NaN, Double.NaN});
try {
modelRegions.addRow(new Object[]{Double.NaN, Double.NaN, Double.NaN});
} catch (Exception ex) {
showException(ex);
}
}//GEN-LAST:event_buttonAddActionPerformed
private void buttonRemoveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonRemoveActionPerformed
int row = tableRegions.getSelectedRow();
if (row >= 0) {
modelRegions.removeRow(row);
}
try {
int row = tableRegions.getSelectedRow();
if (row >= 0) {
modelRegions.removeRow(row);
}
} catch (Exception ex) {
showException(ex);
}
}//GEN-LAST:event_buttonRemoveActionPerformed
private void buttonSetNormActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonSetNormActionPerformed