Solved

Determine Mouse Cursor Size

Posted on 2002-07-15
7
154 Views
Last Modified: 2010-03-31
I'm implementing a tooltip in my AWT applet. To avoid the mouse cursor from covering part of the tooltip, I need to know the size of the cursor so that I can position the tooltip properly. How do I determine the cursor's width and height? Thanks.
0
Comment
Question by:yongsing
  • 3
  • 3
7 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 7154355
 There is a Cursor class in the java.awt package defined. I am not sure if this will be helpful but you can take a look. It might come in handy.

  Hope it helps.
0
 
LVL 9

Author Comment

by:yongsing
ID: 7155964
I do know about the Cursor class, but there is nothing about the size.
0
 
LVL 9

Author Comment

by:yongsing
ID: 7179371
It seems that there is no way of doing that with Java 1.1. I shall delete this question then.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 35

Expert Comment

by:girionis
ID: 7179506
 Have you tried using native code?
0
 
LVL 9

Author Comment

by:yongsing
ID: 7179592
No, and I think it's a lot of work for such a trivial problem. It's not really important so I shall not be looking into it anymore.

Is it ok with you if I delete this question? Thanks for trying to help though.
0
 
LVL 35

Expert Comment

by:girionis
ID: 7179619
 Yes it is more than ok if you delete it. Sorry I could not help :-(
0
 

Accepted Solution

by:
ComTech earned 0 total points
ID: 7179771
As requested in Community Support, this queston will be moved to PAQ, and points refunded.

Regards,
ComTech
CS @ EE
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now