Article View: borland.public.jbuilder.java.swing
Article #8248Problems with Cursor setting in Swing components
From: Alex Mayzlin
Date: Fri, 06 Oct 2000 00:00
Date: Fri, 06 Oct 2000 00:00
13 lines
1158 bytes
1158 bytes
I have encountered the following problem. I created an applet that has a JPanel and a JButton inside of the JPanel. I setup an ActionListener for the Jbutton that executes the following code: JPanel1.setCursor(new Cursor(Cursor.WAIT_CURSOR)); Now, when I click the button, the cursor doesn't change its appearance until the mouse is moved. Does anyone know how to make this work? Thank you very much Alex.
Technical Details
Message-ID:
<39DE0EC3.DC67DF87@earthlink.net>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,97588afb89dc8ade,start X-Google-Attributes: gid111d45,public From: Alex Mayzlin <amayzlin@earthlink.net> Subject: Problems with Cursor setting in Swing components Date: 2000/10/06 Message-ID: <39DE0EC3.DC67DF87@earthlink.net> X-Deja-AN: 678349597 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 970850393 209.208.176.71 (Fri, 06 Oct 2000 09:39:53 PDT) Organization: EarthLink Inc. -- http://www.EarthLink.net MIME-Version: 1.0 NNTP-Posting-Date: Fri, 06 Oct 2000 09:39:53 PDT Newsgroups: borland.public.jbuilder.java.swing