🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Set Cursor?

#17728
From: Tad Frysinger
Date: Tue, 06 Oct 1998 00:00
27 lines
1004 bytes
In article <361A207A.D1C4EF02@Dartmouth.edu>, 
Marie.G.Ricketts@Dartmouth.edu says...
> Could someone tell me the syntax for setting the cursor on a
> FieldControl object?
> 
> import java.awt.Cursor;
> .
> .
> .
> Cursor textCursor = new Cursor(TEXT_CURSOR);
> 
> gives the error:
> Error (606) variable TEXT_CURSOR not found in class myClass.
> 
> Thanks,
> 
> Marie Ricketts
> 
> 
With JDK 1.1.6, you do:

.setCursor( Cursor.getPredefinedCursor( Cursor.HOURGLASS_CURSOR) );

I generally use .setCursor() at the Frame level.

Tad Frysinger
[TeamB]
Technical Details
Message-ID: <MPG.1083e0765ccc1355989926@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <361A207A.D1C4EF02@Dartmouth.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,afe5428433f6d8d6
X-Google-Attributes: gidf74b3,public
From: tfrysinger@uswest.net (Tad Frysinger)
Subject: Re: Set Cursor?
Date: 1998/10/06
Message-ID: <MPG.1083e0765ccc1355989926@forums.borland.com>
X-Deja-AN: 398292513
References: <361A207A.D1C4EF02@Dartmouth.edu>
Organization: FreeZone Enterprises
Newsgroups: borland.public.jbuilder.java.language