Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes waiting cursor for frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "waiting cursor for frame" Watch "waiting cursor for frame" New topic
Author

waiting cursor for frame

J Hartley
Ranch Hand

Joined: Mar 29, 2001
Posts: 52
Hi, I have got a frame with a number of TextFields and various other visual components.
I set the Cursor for the frame to a waiting symbol. The trouble is that when I move the mouse over each visual component, my waiting cursor is overriden by the Cursor of the visual component.
Is there any way to make the Cursor of the frame override the visual components cursor without having to set each of the visual components cursor to null?
Thanks,
Joe Harvey
Rene Liebmann
Ranch Hand

Joined: May 02, 2002
Posts: 196
Yes, the frame has a method getGlassPane(). You have to set the component which is returned by this method to visible and you have to set the wait cursor to this component.
Glass pane is a component, which is on the top of all other components.
J Hartley
Ranch Hand

Joined: Mar 29, 2001
Posts: 52
Hi, thanks for your help
Joe
 
 
subject: waiting cursor for frame
 
Similar Threads
wait cursor
Paint in Swing
selecting Components on whiteboard
waiting cursor
How to Implement "MicroHelp"?