Article View: borland.public.jbuilder.java.swing
Article #11852WAIT_CURSOR woes on JPanel
From: Lisa Elliott
Date: Tue, 06 Apr 1999 00:00
Date: Tue, 06 Apr 1999 00:00
14 lines
1344 bytes
1344 bytes
I am having trouble setting my cursor to the WAIT_CURSOR when a JButton is clicked. The cursor changes to the WAIT_CURSOR on the JButton, but the setCursor method does not work on any of the JPanels. I have read the messages in the newsgroup concerning setting the cursor on JPanel. I have tried the various methods mentioned in the responses (running the commands in a separate thread, using the sync() method, repainting and invalidating all containers, etc.), but nothing seems to work. (There was a response that mentioned using the getGlassPane() method on the JPanel, but I receive a message from the compiler stating that the method is not defined in the com.sun.java.swing.JPanel class. Is there anything else that I can try ? Will the setCursor problem associated with JPanel be fixed in the next release ? Thanks for any help.
Technical Details
Message-ID:
<370A1DDD.1EF5ED79@jhmi.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,97bb338d6fe24d78,start X-Google-Attributes: gid111d45,public From: Lisa Elliott <lelliot@jhmi.edu> Subject: WAIT_CURSOR woes on JPanel Date: 1999/04/06 Message-ID: <370A1DDD.1EF5ED79@jhmi.edu> X-Deja-AN: 463259720 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing