Wait cursor problem
From: FET (bilaribilari_at_yahoo.com)
Date: 03/29/05
- Next message: Alex Molochnikov: "Re: Is there an easy way to make a JFrame AlwaysOnTop?"
- Previous message: Thomas Weidenfeller: "Re: config file processing"
- Next in thread: John McGrath: "Re: Wait cursor problem"
- Reply: John McGrath: "Re: Wait cursor problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Mar 2005 23:39:41 -0800
Hi all,
I am using JDK 1.4.2 and have a JFrame which pops up a dialog to do
some lengthy processing. I am using
this.getGlassPane().addMouseListener( new MouseAdapter() {});
this.getGlassPane().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
this.getGlassPane().setVisible ( true ) ;
as suggested by some article at JavaWorld. But its not working. It
works as long as there is no JDialog popping over it. But as soon as a
JDialog pops over it, the cursor doesn't change at all.
Also, if I click a button on the dialog (thats popped up), the cursor
"sometimes" changes, but if I hit 'Enter' on the text fields of the
dialog (thats popped up), the cursor does not change, it remains the
same as 'I'.
Many posts (dated 1999) also say that the bug has been fixed, but I
can't see it working. Please tell me how to solve this since it is a
major usability issue.
Thanks in advance.
Best regards.
- Next message: Alex Molochnikov: "Re: Is there an easy way to make a JFrame AlwaysOnTop?"
- Previous message: Thomas Weidenfeller: "Re: config file processing"
- Next in thread: John McGrath: "Re: Wait cursor problem"
- Reply: John McGrath: "Re: Wait cursor problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]