🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: set wait cursor

#16827
From: Paul Furbacher
Date: Thu, 14 Jan 1999 00:00
17 lines
1085 bytes
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
Technical Details
Message-ID: <369E7D55.5E7078C@bilbo.bio.purdue.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <77kgca$i63@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,27a3d16a14e71b40
X-Google-Attributes: gidf74b3,public
From: Paul Furbacher <pf@bilbo.bio.purdue.edu>
Subject: Re: set wait cursor
Date: 1999/01/14
Message-ID: <369E7D55.5E7078C@bilbo.bio.purdue.edu>
X-Deja-AN: 432746379
Content-Transfer-Encoding: 7bit
References: <77kgca$i63@forums.borland.com>
To: Giuseppe Frangiamone <gfrangia@usa.net>
Content-Type: text/plain; charset=us-ascii
Organization: Biological Sciences, Purdue Univ.
Mime-Version: 1.0
Reply-To: pf@bilbo.bio.purdue.edu
Newsgroups: borland.public.jbuilder.java.language