开发者

Scaling a Cursor in Java

开发者 https://www.devze.com 2023-04-01 17:40 出处:网络
I want to scale the cursor but the Cursor class in Java API does not have any method to scale a cursor. I need to scale the cursor,开发者_JAVA技巧 please suggest some method or code in Java to do this

I want to scale the cursor but the Cursor class in Java API does not have any method to scale a cursor. I need to scale the cursor,开发者_JAVA技巧 please suggest some method or code in Java to do this.

Thanks


You could create a custom cursor with Toolkit's

createCustomCursor(Image cursor, Point hotSpot, String name) 

method. This could be a larger image.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号