string cannot be converted to int code example
Example 1: java convert String to int
int i = Integer.parseInt(myString);
Example 2: object cannot be converted to int java
public Object getValueAt(int row, int column) {
return getModel().getValueAt(convertRowIndexToModel(row),
convertColumnIndexToModel(column));
}