Article View: borland.public.jbuilder.java.swing
Article #8773Re: Need Help Again
From: John P. McGrath
Date: Thu, 20 Jul 2000 00:00
Date: Thu, 20 Jul 2000 00:00
21 lines
1253 bytes
1253 bytes
On Wed, 19 Jul 2000 14:05:03 -0000, Velu Erwan wrote: > no, it does nothing because i've override the onclick event. What do you mean by "override the onclick event"? There is nothing in Java that I am aware of called "onclick". You can add a MouseListener to a Component, which would then have its mouseClicked() method called when a mouse click occurs. You can override the processMouseEvent() method for the Component. In that case, if you are not calling super.processMouseEvent(), it is not surprising that the Component does not respond. There are other ways you could recognize an event as well. Perhaps you should post the code so people can see what you have done. -- Regards, John McGrath
Technical Details
Message-ID:
<MPG.13e0408287ae9d86989a4d@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8l17o7$qci1@bornews.borland.com> <39748B5D.A221217E@formlessvoid.com> <8l44gn$npj2@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a1e359c34ae2b26d X-Google-Attributes: gid111d45,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: Need Help Again Date: 2000/07/20 Message-ID: <MPG.13e0408287ae9d86989a4d@forums.borland.com> X-Deja-AN: 648481273 References: <8l17o7$qci1@bornews.borland.com> <39748B5D.A221217E@formlessvoid.com> <8l44gn$npj2@bornews.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing