Article View: borland.public.jbuilder.java.swing
Article #13106Re: Does anyone know how to change a cursor?
From: Tad Frysinger
Date: Tue, 22 Sep 1998 00:00
Date: Tue, 22 Sep 1998 00:00
15 lines
962 bytes
962 bytes
In article <6u8hfd$qc113@forums.borland.com>, rokrasinski@centerpoint- prop.com says... > What does the code look like and what do have to import to change the cursor > in swing. I used setCursor(c).... but I get a deprecated warning and of > course there isn't sample code anywhere to be found to show you how to > implement it the new way. > > > setCursor( Cursor.getPredefinedCursor( Cursor.WAIT_CURSOR ) ) It is best to use the frame the component is in... Tad Frysinger [TeamB]
Technical Details
Message-ID:
<MPG.1071b2657d76f01b9898fb@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6u8hfd$qc113@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,59931638f94ce8ac X-Google-Attributes: gid111d45,public From: tfrysinger@earthlink.net (Tad Frysinger) Subject: Re: Does anyone know how to change a cursor? Date: 1998/09/22 Message-ID: <MPG.1071b2657d76f01b9898fb@forums.borland.com> X-Deja-AN: 393752897 References: <6u8hfd$qc113@forums.borland.com> Organization: FreeZone Enterprises Newsgroups: borland.public.jbuilder.java.swing