|
|
@ -200,13 +200,17 @@ public class ColumnRowPane extends JPanel implements UIObserver { |
|
|
|
column = 0; |
|
|
|
column = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
removeDocumentListener(d); |
|
|
|
removeDocumentListener(d); |
|
|
|
columnSpinner.setValue(StableUtils.convertIntToABC(column + 1)); |
|
|
|
String colValue = StableUtils.convertIntToABC(column + 1); |
|
|
|
|
|
|
|
columnSpinner.setValue(colValue); |
|
|
|
|
|
|
|
((DefaultEditor) columnSpinner.getEditor()).getTextField().setText(colValue); |
|
|
|
int row = columnRow.getRow(); |
|
|
|
int row = columnRow.getRow(); |
|
|
|
// shoc 小于0就蹦了
|
|
|
|
// shoc 小于0就蹦了
|
|
|
|
if (row < 0) { |
|
|
|
if (row < 0) { |
|
|
|
row = 0; |
|
|
|
row = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
rowSpinner.setValue("" + (row + 1)); |
|
|
|
String rowValue = Integer.toString(row + 1); |
|
|
|
|
|
|
|
rowSpinner.setValue(rowValue); |
|
|
|
|
|
|
|
((DefaultEditor) rowSpinner.getEditor()).getTextField().setText(rowValue); |
|
|
|
addDocumentListener(d); |
|
|
|
addDocumentListener(d); |
|
|
|
fireChanged(); |
|
|
|
fireChanged(); |
|
|
|
} |
|
|
|
} |
|
|
|