Background activity cursor in Swing

点点圈 提交于 2019-12-22 08:51:51

问题


how can I set the Cursor on a Component to a "background activity" cursor. Like the one in Windows with the arrow and the small hourglass.

All I find ist the Cursor.WAIT_CURSOR, which is only an hour glass.

I found the file which contains the cursor: appstart.ani in C:\WINDOWS\Cursors can I use that somehow?


回答1:


As this is an animated cursor, it's not trivial to display. But the good news is that there is a tutorial for it: Introduce Animated Cursors to Java GUIs



来源:https://stackoverflow.com/questions/4042678/background-activity-cursor-in-swing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!