public void moveAttributeDown() {
   if ((getSelectedRow() > -1) && (getSelectedRow() < this.getRowCount() - 1)) {
     commitCellEdit();
     int remind = getSelectedRow();
     tableModel.moveAttributeUp(getSelectedRow() + 1);
     this.changeSelection(remind + 1, 0, false, false);
   }
 }
 public void moveAttributeUp() {
   if (getSelectedRow() > 0) {
     commitCellEdit();
     int remind = getSelectedRow();
     tableModel.moveAttributeUp(getSelectedRow());
     this.changeSelection(remind - 1, 0, false, false);
   }
 }