Article View: borland.public.jbuilder.java.swing
Article #8555Re: setCursor action
From: JPBallet
Date: Mon, 07 Aug 2000 00:00
Date: Mon, 07 Aug 2000 00:00
19 lines
1170 bytes
1170 bytes
Thank's that works fine. But the cusor don't change when it exit the JButton but when it enter into the next JButton. When rollover the JPanel they are no change!!! Why? Jean-Pierre Ballet >> 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:
<8mll0d$1ch9@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8m6dop$ees2@bornews.borland.com> <MPG.13f159f46c3573f8989a84@forums.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: "JPBallet" <jean-pierre.ballet@meteo.fr> Subject: Re: setCursor action Date: 2000/08/07 Message-ID: <8mll0d$1ch9@bornews.borland.com> X-Deja-AN: 655318167 References: <8m6dop$ees2@bornews.borland.com> <MPG.13f159f46c3573f8989a84@forums.borland.com> Organization: METEO-FRANCE X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.swing