aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to change the cursor size for dialog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to change the cursor size for dialog" Watch "how to change the cursor size for dialog" New topic

how to change the cursor size for dialog

swapnel surade
Ranch Hand

Joined: Mar 05, 2009
Posts: 129

When cursor comes on Java dialog i want to change the size of cursor.
how I can change the size of the cursor ?

swapnil surade
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990

What do you mean "size" of the cursor?
Either you can choose from the known types (Defined in the Cursor class) or make your own by using the Toolkit class.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Rob Spoor

Joined: Oct 27, 2005
Posts: 19541

As far as I know you can't get the current cursor and enlarge it. You probably could if you could convert it to both an Image and a "hot spot" Point; you could then enlarge the Image, scale the Point, then call Toolkit.getDefaultToolkit().createCustomCursor with those values.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: how to change the cursor size for dialog
Similar Threads
File Organization
Mouse Cursor
magnifier cursor in java
magnifier cursor in java
How to change cursor height based on Font size