• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Set Wait Cursor

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Threre are two Buttons("Save", "Message").If a click "Save" button - it starts to find a particular file from my directory.If file is not there - wait cursor will appear-if file is there wait cursor became default cursor.My main problem is -my wait cursor does not work on window. How can I do it?please give me some solution as early as possible.

My Existing code is as follows -

Thank you.
Nandini

ps:
Nandini:
Welcome to the javaranch.
When posting long code (actually any code) please use the [ code ] openinig and closing tags (without the spaces) so that the code is properly formated. Also, I have deleted your other two (exact same) posts -
post once read from anywhere.
Hope you like this place.
Thanks for your cooperation.
- satya

[This message has been edited by Madhav Lakkapragada (edited June 22, 2001).]
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Nandini,
I think all you need to do is inside your actionPerformed method is to get the button parent (which should be CursorDemo) and call the setCursor on it.

Regards,
Manfred.
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Nandini:
knock knock....
pl continue the discussion here....
- satya
 
reply
    Bookmark Topic Watch Topic
  • New Topic