The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

RE:Links

Posted by Kishori Sharan on February 05, 2001 at 2:08 PM

Don't you have setCursor method for Component in JDK1.1. If you have it then just use label.setCursor ( new Cursor ( Cursor.HAND_CURSOR )) ; method for label and then you don't need to use mousemotion listener events. YOu are using MouseMotion listener events only to change the shape of the cursor for label which can be done using serCorsor method too. Let me know if setCursor method is not there in JDK 1.1.

Thanx
Kishori



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us