Article View: borland.public.jbuilder.java.swing
Article #9972Re: Process an Event
From: Ernesto Bascón
Date: Thu, 02 Dec 1999 00:00
Date: Thu, 02 Dec 1999 00:00
32 lines
1148 bytes
1148 bytes
Try overriding the processKeyEvent(KeyEvent e)
and processMouseEvent(MouseEvent e) protected methods.
Saludos
Ernesto Basc�n
Thomas Orgel wrote:
>
> Hi!
>
> I want to process the Event before I call the method drawMyData().
> I have tried the following:
>
> public class myFrame extends JFrame {
>
> .....
>
> void myJComboBox_actionPerformed(ActionEvent e) {
> this.processEvent(e);
> this.drawMyData();
> }
>
> ...
> }
>
> but it doesn't work.
>
> Please Help me!!
>
> Thomas
Technical Details
Message-ID:
<384678BE.F6DE2620@estudiantes.ucbcba.edu.bo>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3846501A.8B49CBBA@sbox.tu-graz.ac.at>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,63d515d472e649aa X-Google-Attributes: gid111d45,public From: Ernesto Bascón <bascone@estudiantes.ucbcba.edu.bo> Subject: Re: Process an Event Date: 1999/12/02 Message-ID: <384678BE.F6DE2620@estudiantes.ucbcba.edu.bo> X-Deja-AN: 555772094 Content-Transfer-Encoding: 8bit References: <3846501A.8B49CBBA@sbox.tu-graz.ac.at> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Organization: UCB Mime-Version: 1.0 Reply-To: bascone@estudiantes.ucbcba.edu.bo Newsgroups: borland.public.jbuilder.java.swing