🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do I get an Hourglass cursor?

#2456
From: John McGrath TeamB
Date: Tue, 05 Dec 2000 00:00
19 lines
1108 bytes
On Mon, 04 Dec 2000 14:35:11 GMT, Robert Piskac wrote:

> How do I get an hourglass cursor?  I placed the function call
> setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)) but
> no hourglass appears.

This will have no effect if you do your loading in the event thread, 
since the GUI will not be updated until your ActionListener returns.  
You will need to run your database access code in a separate thread for 
this to work.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.14967b832d59d300989d92@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <20001204.14351125@waldo.idi-net.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,59989829e80cfb38
X-Google-Attributes: gid1089d0,public
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Subject: Re: How do I get an Hourglass cursor?
Date: 2000/12/05
Message-ID: <MPG.14967b832d59d300989d92@forums.borland.com>
X-Deja-AN: 701306369
References: <20001204.14351125@waldo.idi-net.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api