Bharat Dighe schrieb:

> frame.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

And afterwards, you have to ensure, the cursors gets normal:

  try {

getFrame().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

    ... do something
  }
  finally {
    getFrame().setCursor(Cursor.getDefaultCursor());
  }


> ----- Original Message -----
> From: "David King" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 28, 2001 9:02 AM
> Subject: changing the cursor to an hourglass
>
> > Hello.
> >
> > Is there a way to change the cursor to an hourglass so
> > that no mouse events will occur until after some processing
> > has finished?

--
Christian Pesch - Software Engineer
[EMAIL PROTECTED] - fon +49.40.325587.505  fax .999
CoreMedia AG - www.coremedia.com - 0700-COREMEDIA
Düsternstraße 3, 20355 Hamburg, Germany

CoreMedia auf der CeBit vom 22. bis 28. März 2001:
    - Halle 2, Stand B40 bei Bertelsmann -
     - Halle 4, Stand A04 bei Informix -



_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to