Article View: borland.public.jbuilder.java.swing
Article #8604Re: setCursor action
From: John P. McGrath
Date: Tue, 01 Aug 2000 00:00
Date: Tue, 01 Aug 2000 00:00
15 lines
951 bytes
951 bytes
On Tue, 1 Aug 2000 14:06:31 +0200, JPBallet wrote: > I have a JWindow class witt a JPanel container inside and > a JButton inside the JPanel. > How can i do to change the cursor on mouseEnter action? > setCursor() don't works setCursor() works, but you normally should not need to call it every time the mouse enters or leaves your component. Once you call it, the cursor will be updated whenever the mouse enters the component, and reset when it leaves. -- Regards, John McGrath
Technical Details
Message-ID:
<MPG.13f159f46c3573f8989a84@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8m6dop$ees2@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a9095c28cba148d7 X-Google-Attributes: gid111d45,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: setCursor action Date: 2000/08/01 Message-ID: <MPG.13f159f46c3573f8989a84@forums.borland.com> X-Deja-AN: 653467664 References: <8m6dop$ees2@bornews.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing