Article View: borland.public.jbuilder.java.swing
Article #792Re: Action performed event handler fires twice
From: John McGrath [TeamB]
Date: Fri, 25 Jun 2004 23:19
Date: Fri, 25 Jun 2004 23:19
23 lines
1535 bytes
1535 bytes
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
Technical Details
Message-ID:
<40dcb30b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<2k2icaF16gj6pU1@uni-berlin.de>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,11c992ff0658e7ea X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "John McGrath [TeamB]" <ng-b@JPMcGrath.net> Subject: Re: Action performed event handler fires twice Newsgroups: borland.public.jbuilder.java.swing References: <2k2icaF16gj6pU1@uni-berlin.de> User-Agent: XanaNews/1.16.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 NNTP-Posting-Host: 151.197.186.57 Message-ID: <40dcb30b$1@newsgroups.borland.com> Date: 25 Jun 2004 16:19:39 -0700 X-Trace: newsgroups.borland.com 1088205579 151.197.186.57 (25 Jun 2004 16:19:39 -0700) Lines: 23 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail