🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2440

Re: setCursor

#2440
From: Robert Crossman
Date: Thu, 30 Nov 2000 00:00
18 lines
1172 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: <3A266D05.65FEB7FE@metaserver.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <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: <3A266D05.65FEB7FE@metaserver.com>
X-Deja-AN: 699543378
Content-Transfer-Encoding: 7bit
References: <900fka$ga99@bornews.inprise.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 30 Nov 2000 07:12:29 -0800, 206.97.11.162
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api