🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Cursor problems

#16743
From: mlee
Date: Tue, 26 Jan 1999 00:00
21 lines
1301 bytes
I've had a similar problem implementing drag and drop in a treecontrol.  If you
study the behavior I tink you'll find that it works if you move the mouse.
There's an event queue that "fires" when a mouseevent occurs.

What you might try is performing the setCursor() followed by:
validate();
invalidate();
repaint();

Toni Saez wrote:

> I am trying to change the cursor when i am loading an applet
>  DEFAULT_CURSOR -> WAITING_CURSOR)  with the instruction
> this.setCursor(<kind of cursor>) but it change sometimes  and sometimes not.
> What can i do?

--
Mark Lee
Frank Russell Company
Tacoma: 253.591.3536  Seattle 206.624.9375 ext. 3536
mlee@synthbank.com
Technical Details
Message-ID: <36ADF9E2.BC4026BE@synthbank.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <78a845$jdr10@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,66d02c02c9355072
X-Google-Attributes: gidf74b3,public
From: mlee <mlee@synthbank.com>
Subject: Re: Cursor problems
Date: 1999/01/26
Message-ID: <36ADF9E2.BC4026BE@synthbank.com>
X-Deja-AN: 437168224
Content-Transfer-Encoding: 7bit
References: <78a845$jdr10@forums.borland.com>
To: Toni Saez <asaez@bilbomatica.es>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Frank Russell Company - Advanced Technology Lab
Mime-Version: 1.0
Reply-To: mlee@synthbank.com
Newsgroups: borland.public.jbuilder.java.language