Article View: borland.public.jbuilder.java.api
Article #2459Re: How do I get an Hourglass cursor?
From: Robert Piskac
Date: Tue, 05 Dec 2000 00:00
Date: Tue, 05 Dec 2000 00:00
33 lines
1696 bytes
1696 bytes
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:
<20001205.19452151@waldo.idi-net.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<20001204.14351125@waldo.idi-net.com> <MPG.14967b832d59d300989d92@forums.borland.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: Robert Piskac <bob@pbsoftware.com> Subject: Re: How do I get an Hourglass cursor? Date: 2000/12/05 Message-ID: <20001205.19452151@waldo.idi-net.com> X-Deja-AN: 701475568 Content-Transfer-Encoding: quoted-printable References: <20001204.14351125@waldo.idi-net.com> <MPG.14967b832d59d300989d92@forums.borland.com> Organization: Another Netscape Collabra Server User X-Priority: 3 (Normal) Content-Type: text/plain; charset=ISO-8859-1 Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api