🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #794

Re: Action performed event handler fires twice

#794
From: BrianW
Date: Mon, 28 Jun 2004 22:00
32 lines
1785 bytes
"John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message
news:40dcb30b$1@newsgroups.borland.com...
> On 6/25/2004 at 7:58:48 AM, BrianW wrote:
>
> > This is the code I'm concerned about:
> >
> > void showManifestFile(String filename) throws IOException {
> [snip]
>
> > The problem is that the event handler is being called twice,
> > so the text ends up in the text area twice.
>
> It seems likely that the problem is related to how you register listeners
> for the events and which events you respond to, rather than in the code
> that you posted, which seems to implement the actions taken in response to
> the events.
>
> -- 
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
>     http://www.JPMcGrath.net/newsgroups/e-mail.html

Not the case I think. I've moved the BufferedReader stuff into a different
component, and it now also fires the action-performed event twice. I made no
other changes.

Brian
Technical Details
Message-ID: <2kbiogFf5kiU1@uni-berlin.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
References: <2k2icaF16gj6pU1@uni-berlin.de> <40dcb30b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,11c992ff0658e7ea
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: "BrianW" <brian@nospam.net>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Action performed event handler fires twice
Date: Mon, 28 Jun 2004 23:00:37 +0100
Lines: 34
Message-ID: <2kbiogFf5kiU1@uni-berlin.de>
References: <2k2icaF16gj6pU1@uni-berlin.de> <40dcb30b$1@newsgroups.borland.com>
X-Trace: news.uni-berlin.de SVVyQxC/zvEz8nTJOKS9zQ7vuyMWaMYoqNv/WvWIm7PCl+Y1JH
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409