Java摆动“在后台工作”滑鼠游标 [英] Java swing "working in background" mouse cursor
问题描述
是否有一个内置光标会显示箭头加沙漏鼠标指针,该指针在Windows在后台运行时使用,但仍允许您单击内容?
我知道有关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?
推荐答案
我看不到内置的游标执行此操作。所有预定义的游标都位于此处:
http://download.oracle.com/javase/7/docs/api/java/awt/Cursor.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
您将需要创建一个自定义光标或找到已经完成此操作的人。这是一个向您展示如何构建自己的自定义光标的网站:
http://blog.codebeach.com/2008/02/using-custom-cursors-in-java.html
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
这篇关于Java摆动“在后台工作”滑鼠游标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!