🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GUI Responsiveness Problem

#1295
From: pNichols
Date: Mon, 29 Dec 2003 07:58
23 lines
2236 bytes
Steve wrote:

> "pNichols" <paul@computer-logic.net> wrote in message
> news:3fecff09$1@newsgroups.borland.com...
>> there was a good article this month In Java Developer's Journal about
> Swing
>> and Listener events performance probems that you might want to take a
>> look at. I think it could address some of your issues.
> 
> Thanks for the tip. It covers about the same ground as the Sun tutorial,
> albeit with more example code. It did nudge me to look at the source for
> SwingWorker, though. Since the finished() routine is run by invokeLater,
> it should be attached to the end of the queue. Since this doesn't always
> have the effect I intended, it strengthens my suspicion that this was just
> lack of forsight in the way that JComboBox was written (i.e., the list
> should be retracted before it calls the action event handler).

There are a myriad of problems with Listeners and Event classes in Java
Swing. I constantly monitor my programs to see how many iterations they
make through an ActionEvent or WindowListener which will fire not only on
these events but any subsequent events within the same inner class. I think
Javasoft DEFINITELY needs to revisit the way they implement these Listener
classes.
Technical Details
Message-ID: <3fefdc9c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fea3050$1@newsgroups.borland.com> <3fecff09$1@newsgroups.borland.com> <3fedfede@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f4eeb7806688d1cc
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-29 00:09:20 PST
Message-ID: <3fefdc9c@newsgroups.borland.com>
From: pNichols <paul@computer-logic.net>
Subject: Re: GUI Responsiveness Problem
Newsgroups: borland.public.jbuilder.java.swing
Reply-To: paul@computer-logic.net
Date: Mon, 29 Dec 2003 02:58:11 -0500
References: <3fea3050$1@newsgroups.borland.com> <3fecff09$1@newsgroups.borland.com> <3fedfede@newsgroups.borland.com>
Lines: 24
Organization: Computer Logic
User-Agent: KNode/0.7.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 68.71.188.25
X-Trace: newsgroups.borland.com 1072684188 68.71.188.25 (28 Dec 2003 23:49:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail