Article View: borland.public.jbuilder.java.language
Article #16745Re: set wait cursor
From: mlee
Date: Tue, 26 Jan 1999 00:00
Date: Tue, 26 Jan 1999 00:00
32 lines
1477 bytes
1477 bytes
Paul, Is there an event queue on mouseevents? I've been attaching setCursor() calls to mouseevents and am finding that the cursor doesn't change until the next event occurs. Mark Lee Paul Furbacher wrote: > Giuseppe Frangiamone wrote: > > > > What's the correct wait to set wait cursor in a java application? > > frame.setCursor(...) is deprecated! > > Yes, it is. However, if you look at the source (Frame.java) by > drilling down in the IDE's "Structure pane", you'll see where > to start looking: > > "... replaced by <code>Component.setCursor(Cursor)</code>" > > Hence, you would write: > > frame1.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); > > Paul Furbacher -- Mark Lee Frank Russell Company Tacoma: 253.591.3536 Seattle 206.624.9375 ext. 3536 mlee@synthbank.com
Technical Details
Message-ID:
<36ADFBCC.8BDE4253@synthbank.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<77kgca$i63@forums.borland.com> <369E7D55.5E7078C@bilbo.bio.purdue.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,27a3d16a14e71b40 X-Google-Attributes: gidf74b3,public From: mlee <mlee@synthbank.com> Subject: Re: set wait cursor Date: 1999/01/26 Message-ID: <36ADFBCC.8BDE4253@synthbank.com> X-Deja-AN: 437172558 Content-Transfer-Encoding: 7bit References: <77kgca$i63@forums.borland.com> <369E7D55.5E7078C@bilbo.bio.purdue.edu> To: pf@bilbo.bio.purdue.edu 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