Mouse icon needed to change

Discussion in 'Java' started by shoa, Aug 24, 2005.

  1. shoa

    shoa Guest

    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
     
    shoa, Aug 24, 2005
    #1
    1. Advertising

  2. shoa

    Eric Guest

    1. Advertising

  3. "shoa" <> wrote
    > 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));

    --
    "TFritsch$t-online:de".replace(':','.').replace('$','@')
     
    Thomas Fritsch, Aug 24, 2005
    #3
  4. shoa

    Roedy Green Guest

    Roedy Green, Aug 24, 2005
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Miro Durcik

    app.rc resource's icon to .net Icon

    Miro Durcik, Oct 9, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,412
    Miro Durcik
    Oct 9, 2004
  2. -

    mouse icon

    -, Mar 26, 2005, in forum: Java
    Replies:
    1
    Views:
    446
    Roland
    Mar 26, 2005
  3. Dan Polansky
    Replies:
    3
    Views:
    828
    Larry Barowski
    Feb 12, 2007
  4. Bodi
    Replies:
    1
    Views:
    298
    Lasse Reichstein Nielsen
    Nov 18, 2003
  5. Stefan Mueller
    Replies:
    0
    Views:
    379
    Stefan Mueller
    Jan 28, 2006
Loading...

Share This Page