• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to change the cursor size for dialog

 
swapnel surade
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rob Spoor
Sheriff
Pie
Posts: 20514
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic