Mouse icon needed to change

S

shoa

Hello all
I have an application with a login window. I have to enter username and
password and click OK button. The application needs 6-7 seconds to verify
username and password. What I really need is to know how I can change the
mouse icon from arrow icon to glass icon (after I click OK button) so that
users will know the application is running (or verifying)
Thank you
S.Hoa
 
T

Thomas Fritsch

shoa said:
Hello all
I have an application with a login window. I have to enter username and
password and click OK button. The application needs 6-7 seconds to verify
username and password. What I really need is to know how I can change the
mouse icon from arrow icon to glass icon (after I click OK button) so that
users will know the application is running (or verifying)
Thank you
S.Hoa
See <http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Cursor.html>.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top