Bug fix
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user