int m = getRowMargin(); r.translate(m,m); r.width-=m; component.setBounds(r);
int xOffset = 5; r.x+=xOffset; r.y++; r.width -=xOffset; r.height --;   component.setBounds(new Rectangle(r));
  private void moveToCellBeingEdited(Component component)  {     Rectangle r = getCellRect(editingRow, editingColumn, true);     // Place the text field so that it would not touch the table     // border.     int m = getRowMargin();     r.translate(m,m);     r.width-=m;     component.setBounds(r);  }