🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Hourglass

#18443
From: vvenkat
Date: Mon, 22 Jun 1998 00:00
27 lines
1285 bytes
In article <6mkcif$fu77@forums.borland.com>,
  "Stickney" <stciney.k@synergy-int.co.nz> wrote:
>
> Hi,
>
> How can I display a hourglass when I run a program. I want to display a
> hourglass when a program is run form the mainmenu and when reports are run
>
> Thanks,
> Stickney
>
>
Hi,
  You can use this code.

    this.setCursor(new Cursor(Cursor.WAIT_CURSOR));

This above code will set the cursor to hour glass.  The below code will set it
back to default.

   this.setCursor((new Cursor(Cursor.DEFAULT_CURSOR));

Veena

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading
Technical Details
Message-ID: <6mlpre$c8t$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6mkcif$fu77@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,2da5f6e4f3db8daf
X-Google-Attributes: gidf74b3,public
From: vvenkat@fedex.com
Subject: Re: Hourglass
Date: 1998/06/22
Message-ID: <6mlpre$c8t$1@nnrp1.dejanews.com>
X-Deja-AN: 364969981
References: <6mkcif$fu77@forums.borland.com>
X-Http-User-Agent: Mozilla/4.04 [en] (WinNT; I)
X-Http-Proxy: 1.0 is5:3128 (Squid/1.1.21) for client 199.82.60.201
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Mon Jun 22 14:31:10 1998 GMT
Newsgroups: borland.public.jbuilder.java.language