code: @Override
      public void drawString(AttributedCharacterIterator iterator, int x, int y) {
          drawString(iterator, (float) x, (float) y); 
      }
docs: Draws a string of attributed characters at {@code (x, y)}.  The
  call is delegated to
  {@link #drawString(AttributedCharacterIterator, float, float)}.
  
  @param iterator  an iterator for the characters.
  @param x  the x-coordinate.
  @param y  the x-coordinate.