Java swing“在后台工作”鼠标光标
是否有一个内置光标可以显示“箭头加沙漏”鼠标指针,当窗口在后台工作时使用,但仍然允许您单击某些内容? 我知道 WAIT_CURSOR,但我没有看到类似的东西。我是否需要制作自定义光标才能获得沙漏指针组合?
Is there a built in cursor that will show the "arrow plus hourglass" mouse pointer that is used when windows is working in the background, yet still allowing you to click on things?
I know about WAIT_CURSOR, but I don't see anything like this. Do I need to make a custom cursor to get the hourglass-pointer combo?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我没有看到内置光标可以执行此操作。所有预定义的光标都位于此处:
http://download.oracle.com/javase/7 /docs/api/java/awt/Cursor.html
您可能很清楚
。您将需要创建一个自定义光标或找到已经完成此操作的人。这是一个网站,向您展示如何构建自己的自定义光标:
http://blog.codebeach.com/2008/02 /using-custom-cursors-in-java.html
祝你好运
I don't see a built-in cursor that does this. All the pre-defined cursors reside here:
http://download.oracle.com/javase/7/docs/api/java/awt/Cursor.html
as you may well know.
You will need to create a custom cursor or find someone who has already done this. Here's a website showing you how to build your own custom cursor:
http://blog.codebeach.com/2008/02/using-custom-cursors-in-java.html
Goodluck