Solved

Determine Mouse Cursor Size

Posted on 2002-07-15
7
155 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how do i compare an object based on two fields 6 54
egit plugin on eclipse 8 63
How to determine if a string is a valid SHA value 7 34
mysql jsp example issue 32 38
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

810 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