public void setValueAt(Object aValue, int rowIndex, int columnIndex) { final Breakpoint bp = getBreakpoint(rowIndex); switch (columnIndex) { case COL_BP_ENABLED: bp.setEnabled((Boolean) aValue); break; case COL_BP_EXPRESSION: if (UNCONDITIONAL_BREAKPOINT.equals(aValue)) { return; } try { bp.setCondition((String) aValue); } catch (ParseException e) { e.printStackTrace(); return; } break; default: throw new UnsupportedOperationException("Unhandled column edited: " + columnIndex); } emulator.breakpointChanged(bp); }