A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
mouse curser
ramesh kancherla
Ranch Hand
Joined: May 01, 2008
Posts: 120
posted
May 03, 2008 02:50:00
0
I am getting mouse curser in Jframe
i have to change mouse curser to mouse pointer .
how can i change it
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
May 03, 2008 03:06:00
0
That's what the setCursor(Cursor) method does.
[ May 03, 2008: Message edited by: Ulf Dittmer ]
Android apps
–
ImageJ plugins
–
Java web charts
ramesh kancherla
Ranch Hand
Joined: May 01, 2008
Posts: 120
posted
May 03, 2008 04:01:00
0
can you give me the sample code
for changing mouse cursor
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
May 03, 2008 04:07:00
0
What would the code show? You construct a Cursor object and pass it to the setCursor method. That's it.
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
I like...
posted
May 03, 2008 06:54:00
0
And for creating the cursor you use one of the constants in the Cursor class.
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
http://aspose.com/file-tools
subject: mouse curser
Similar Threads
Change Curser
Changing the curser while the page is loading
Problem Closing a popup in FireFox
cursor place i text field ????
transperent window
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter