[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

Wait Cursor

Hi,

I want the cursor to always use the wait cursor no matter where on the screen the cursor is. Is this possible?
0
wallway
Asked:
wallway
1 Solution
 
FesterWimCommented:
Setting a cursor in java:

Window w = new Window();

w.setCursor( Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

You can ofcourse do this on a JFrame also, since a JFrame is a subclass of Window.

Does your application window occupy the whole screen?
0
 
TimYatesCommented:
> Does your application window occupy the whole screen?

if not, you'll need to use JNI
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now