public boolean nextTile() throws ModelControlException {
  boolean movedToRow=super.nextTile();
  if (movedToRow) {
    curTile=getTileIndex();
    setDisplayFieldValue(TXT_INDEX,Integer.toString(curTile));
    setDisplayFieldValue(TXT_BUTTON,buttons[curTile]);
    setDisplayFieldValue(TXT_CLASS,curTile == 0 ? "button primary" : "button");
  }
  return movedToRow;
}

public boolean nextTile ( ) throws ModelControlException { boolean movedToRow = super . nextTile ( ) ; if ( movedToRow ) { curTile = getTileIndex ( ) ; setDisplayFieldValue ( TXT_INDEX , Integer . toString ( curTile ) ) ; setDisplayFieldValue ( TXT_BUTTON , buttons [ curTile ] ) ; setDisplayFieldValue ( TXT_CLASS , curTile == 0 ? "button primary" : "button" ) ; } return movedToRow ; }
moves the current tile position to the next available tile .
