int curRow = this.jTableParams.getSelectedRow();
if (curRow == -1) {
return;
}
Parameter p = this.paramsModel.getParameter(curRow);
if (this.chkStartUseCurPoint.isSelected()) {
this.chkEndUseCurPoint.setSelected(false);
this.txtXStartPoint.setText(this.txtTraceXCoord.getText());
this.txtYStartPoint.setText(this.txtTraceYCoord.getText());
this.txtXEndPoint.setText(p.getEndPos().getXasString());
this.txtYEndPoint.setText(p.getEndPos().getYasString());
this.RTParamCalc();
} else {
this.txtXStartPoint.setText(p.getInitPos().getXasString());
this.txtYStartPoint.setText(p.getInitPos().getYasString());
this.txtParamValue.setText(p.getValueAsString());
}
}