?
Solved

Determine Mouse Cursor Size

Posted on 2002-07-15
7
Medium Priority
?
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month14 days, 2 hours left to enroll

800 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