This commit is contained in:
2026-01-14 16:20:04 +01:00
parent 0bb7f200d4
commit 400845ac16

View File

@@ -99,6 +99,12 @@ public class Correlation extends Panel {
this.startTimer(100, 10);
comboTypeXActionPerformed(null);
comboTypeYActionPerformed(null);
if (runCount==0){
if (App.hasArgument("start")) {
buttonStartActionPerformed(null);
}
}
}
@Override
@@ -175,14 +181,7 @@ public class Correlation extends Panel {
comboTypeX.setEnabled(state==State.Ready);
comboTypeY.setEnabled(state==State.Ready);
checkLinear.setEnabled(state==State.Ready);
checkQuadratic.setEnabled(state==State.Ready);
if ( ((former==null)||(former==State.Initializing)) && (state == State.Ready)){
if (App.hasArgument("start")) {
buttonStartActionPerformed(null);
}
}
checkQuadratic.setEnabled(state==State.Ready);
}
boolean isRunning(){