Article View: borland.public.jbuilder.java.swing
Article #11857Re: WAIT_CURSOR woes on JPanel
From: Max Polk
Date: Tue, 06 Apr 1999 00:00
Date: Tue, 06 Apr 1999 00:00
14 lines
1215 bytes
1215 bytes
In article <370A1DDD.1EF5ED79@jhmi.edu>, lelliot@jhmi.edu says... > 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. Validly changed cursors do not always appear. If you press a button inside a panel on which you do a setCursor as soon as the button is pressed, I notice that moving the mouse destroys the busy cursor, especially moving outside the panel and back again. If you keep the mouse perfectly still when setCursor is called, I have had better luck getting it to appear as busy and stay that way. Once I move it, especially outside the panel, it frequenly never appears busy again.
Technical Details
Message-ID:
<MPG.1174922e7855d229896d3@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<370A1DDD.1EF5ED79@jhmi.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,97bb338d6fe24d78 X-Google-Attributes: gid111d45,public From: none@none.invalid (Max Polk) Subject: Re: WAIT_CURSOR woes on JPanel Date: 1999/04/06 Message-ID: <MPG.1174922e7855d229896d3@forums.borland.com> X-Deja-AN: 463485768 References: <370A1DDD.1EF5ED79@jhmi.edu> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing