mPrevious);
} else if (mRow == 1) {
try {
if (!mComponent.getText().startsWith("=")) {
TypeRange tr = Parser.parseTypeRange(mComponent.getText(), mColumn, mCalc);
command = new SetTypeRangeCommand(mCalc, mColumn, tr);
} else {
TypeRange tr = Parser.parseFunction(mComponent.getText().substring(1), mColumn, mCalc);
command = new SetTypeRangeCommand(mCalc, mColumn, tr);
}
} catch (ParseException pe) {
JOptionPane.showMessageDialog(CalcTablePanel.this, pe);
return null;
}