title: incompatible types: java.lang.String cannot be converted to int
body: <pre><code>/**
  * this is from the r2j class
  */
  public String getCurrentState() {
      trace("getCurrentState() starts... ...and ends with value " + currentState + ", " + STATES[currentState]);
      return currentState + ", " + STATES[currentState];
  }
  
  
  /**
   *  provide the identity of the specified state
   *  @return which state is of a given number
   */
  public String getSpecificState(int stateNum) {
      trace("getSpecificState() starts... ...and ends with value " + stateNum + ", " + STATES[stateNum]);
      return stateNum + ", " + STATES[stateNum];
  }
  </code></pre>