🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19083

Re: Changing Mouse Pointer

#19083
From: Tad Frysinger
Date: Fri, 13 Mar 1998 00:00
12 lines
889 bytes
In article <350966F1.9C54504@sema4.com>, ahumphreys@sema4.com says...
> I'd like to disable and change the Mouse Pointer to an hourglass (or
> something) when my program is busy thinking.  how can I do this?
> 
> 
I *believe* (better check me on this) that cursors can be changed at the 
component level only.  Try this:

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

Look up the Cursor class, you should find info there.
Technical Details
Message-ID: <MPG.f7318c9c56751899897df@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <350966F1.9C54504@sema4.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,cc7ddc2bbfa4aa23
X-Google-Attributes: gidf74b3,public
From: tfrysinger@earthlink.net (Tad Frysinger)
Subject: Re: Changing Mouse Pointer
Date: 1998/03/13
Message-ID: <MPG.f7318c9c56751899897df@forums.borland.com>
X-Deja-AN: 333737107
References: <350966F1.9C54504@sema4.com>
Organization: FreeZone Enterprises
Newsgroups: borland.public.jbuilder.java.language