🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do I get an Hourglass cursor?

#2460
From: Avi Abrami
Date: Wed, 06 Dec 2000 00:00
36 lines
1916 bytes
Perhaps the following URL will help ...

http://www.javaworld.com/javaworld/javatips/jw-javatip104.html

Avi.

Robert Piskac wrote:

> Thank you for half the answer.  I am new to Java and Jbuilder 4.  This
> code was handed over to me.  How do I start a separate thread for the
> database loads?  Is there a sample some where?
>
> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
>
> On 12/5/2000, 5:48:41 AM, John McGrath [TeamB] <ng-b@JPMcGrath.net> wrote
> regarding Re: How do I get an Hourglass cursor?:
>
> > 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: <3A2DE1A6.925C2CDE@intersystemsww.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <20001204.14351125@waldo.idi-net.com> <MPG.14967b832d59d300989d92@forums.borland.com> <20001205.19452151@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: Avi Abrami <aabrami@intersystemsww.com>
Subject: Re: How do I get an Hourglass cursor?
Date: 2000/12/06
Message-ID: <3A2DE1A6.925C2CDE@intersystemsww.com>
X-Deja-AN: 701658713
Content-Transfer-Encoding: 7bit
References: <20001204.14351125@waldo.idi-net.com> <MPG.14967b832d59d300989d92@forums.borland.com> <20001205.19452151@waldo.idi-net.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 5 Dec 2000 22:51:35 -0800, 212.25.80.54
Organization: Intersystems
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api