public void requestCursor(java.awt.Cursor cursor){
  if (cursor == null) {
    if (showWaitCursor && !waitingForLayers)     resetCursor();
    currentMapBeanCursor=null;
  }
 else   if (this.map != null) {
    Cursor newCursor;
    if (showWaitCursor && waitingForLayers) {
      newCursor=Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);
      currentMapBeanCursor=cursor;
    }
 else     newCursor=cursor;
    map.setCursor(newCursor);
  }
}

public void requestCursor ( java . awt . Cursor cursor ) { if ( cursor == null ) { if ( showWaitCursor && ! waitingForLayers ) resetCursor ( ) ; currentMapBeanCursor = null ; } else if ( this . map != null ) { Cursor newCursor ; if ( showWaitCursor && waitingForLayers ) { newCursor = Cursor . getPredefinedCursor ( Cursor . WAIT_CURSOR ) ; currentMapBeanCursor = cursor ; } else newCursor = cursor ; map . setCursor ( newCursor ) ; } }
change the cursor for the mapbean . if the mapbean hasn ' t been set , then nothing will happen on the screen . if a null value is passed in , the cursor is reset to the mousemode value . if the informationdelegator is allowed to show the wait cursor , and the layers are busy , the wait cursor will take precedence . the requested cursor from a layer will be set if the layers finish .
