int size = listeners.size();
Vector lc = new Vector(listeners);  int size = lc.size();
   private synchronized void fireCursorChanged(int update) {      int startRow = getRow(lastPos);      int startCol = getCol(lastPos);      if (listeners != null) {         int size = listeners.size();         for (int i = 0; i < size; i++) {            ScreenListener target =                    (ScreenListener)listeners.elementAt(i);            target.onScreenChanged(update,startRow,startCol,startRow,startCol);         }      }   }