Solved

Wait Cursor

Posted on 2003-11-20
2
311 Views
Last Modified: 2011-04-14
Hi,

I want the cursor to always use the wait cursor no matter where on the screen the cursor is. Is this possible?
0
Comment
Question by:wallway
2 Comments
 
LVL 1

Accepted Solution

by:
FesterWim earned 50 total points
Comment Utility
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
 
LVL 35

Expert Comment

by:TimYates
Comment Utility
> Does your application window occupy the whole screen?

if not, you'll need to use JNI
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
countX 22 67
IT Company 5 67
Saving Tweets with emojis using Twitter4J in a Mysql table 2 50
bitbucket vs gitbucket 3 28
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now