Article View: borland.public.jbuilder.java.api
Article #2441Re: setCursor
From: Robert Crossman
Date: Thu, 30 Nov 2000 00:00
Date: Thu, 30 Nov 2000 00:00
19 lines
1217 bytes
1217 bytes
You do not need to create a new Cursor, the Cursor class provides several static instances of cursors. Try "Component.setCursor(Cursor.WAIT_CURSOR)". Erwin Olaerts wrote: > Hi, > > Can anybody help me ? I want to use the setCursor method to set my cursor to > a WAITCURSOR. But for some reason it doesn't work. I created a class that > extends JInternalFrame and in this class I made a method waitCursor() wich > exists out > "this.setCursor(new Cursor(Cursor.WAIT_CURSOR))". > Unfortenately, nothing happens. The cursor isn't changing. Can someone tell > me what I do wrong ... > > Thx, > Erwin Olaerts
Technical Details
Message-ID:
<3A266D35.A9259366@metaserver.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<900fka$ga99@bornews.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,7632e4b013fb1c8d X-Google-Attributes: gid1089d0,public From: Robert Crossman <crossman@metaserver.com> Subject: Re: setCursor Date: 2000/11/30 Message-ID: <3A266D35.A9259366@metaserver.com> X-Deja-AN: 699543383 Content-Transfer-Encoding: 7bit References: <900fka$ga99@bornews.inprise.com> To: Erwin Olaerts <erwin.olaerts@idp.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 30 Nov 2000 07:13:16 -0800, 206.97.11.162 MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api