Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Thomas Kellerer" Subject: Re: Strange problem with Message-ID: <6nil3mFlpc83U1@mid.individual.net> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: References: Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 26 Date: Wed, 27 Apr 2011 15:50:33 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303919433 96.60.20.240 (Wed, 27 Apr 2011 10:50:33 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:50:33 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4433 To: comp.lang.java.gui John B. Matthews, 06.11.2008 20:33: >>> In case anybody has come across such issue earlier or can point me >>> to some way to fix it will be highly appreciated. >> In my experience the GTK Look & Feel that is selected on the Gnome >> Desktop behaves completely different compared e.g. to the Metal Look >> & Feel. I had several cases were the order of events during creation >> of my Windows and Panels were different compared to other look and >> feels and thus certain objects were not yet initialized which led to >> NPEs during startup and opening of windows. > > This is a compelling observation. I wonder if it's related to Nigel > Wade's reminder about constructing GUI components on the EDT: > > l=en&dmode=source> > The creation of the objects was done in the EDT but if memory serves me well (it's been a while since I hunted that down) this was also caused when adding listeners. The order in which certain events were dispatched to the listeners were completely different. I'm not talking about multiple listeners on the same event. Those were different types of listeners. Thomas --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24