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
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
Author

how to change the cursor size for dialog

swapnel surade
Ranch Hand

Joined: Mar 05, 2009
Posts: 129
Hi,

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

thanks
swapnil surade
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

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
Sheriff

Joined: Oct 27, 2005
Posts: 19790
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to change the cursor size for dialog