/** set cursor */
 public void setCursor(Cursor c) throws InvalidDnDOperationException {
   XToolkit.awtLock();
   try {
     super.setCursor(c);
   } finally {
     XToolkit.awtUnlock();
   }
 }
 /** set cursor */
 public void setCursor(Cursor c) throws InvalidDnDOperationException {
   SunToolkit.awtLock();
   super.setCursor(c);
   SunToolkit.awtUnlock();
 }