[6000] in java-interest

home help back first fref pref prev next nref lref last post

How to change default cursor in a Window?

daemon@ATHENA.MIT.EDU (Greg Ewing)
Fri Mar 8 00:58:41 1996

Date: Fri, 8 Mar 1996 10:44:19 +1100
From: grege@optimation.com.au (Greg Ewing)
To: java-interest@java.sun.com

Javans,

The Window class uses an ugly crosshair cursor. I want to change 
this for another cursor-type. 

Looking at the source code for Window I can't see where the cursor 
is being set so I assume that its peer may be in control of this.

Frame, a subclass of Window, does cursor manipulation so I have 
attempted to change the cursor in the parent frame of the Window 
(Window takes its parent Frame as an argument to its constructor).
This doesn't work.

Any ideas, or am I stuck with this horrible cursor (I would like a 
`hand' or `pointer' as I am using Window as the container for a 
popup menu)?

GREG
grege@optimation.com.au

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post