Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4433

Re: Strange problem with

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" <thomas.kellerer@THRWHITE.remove-dii-this>
Subject Re: Strange problem with
Message-ID <6nil3mFlpc83U1@mid.individual.net> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <nospam-C8C450.14331006112008@news.motzarella.org>
References <nospam-C8C450.14331006112008@news.motzarella.org>
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

Show key headers only | View raw


  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:
> 
> <http://groups.google.com/group/comp.lang.java.gui/msg/9981c8ae0278f242?h
> 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

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Strange problem with JAVA "Deepanshu" <deepanshu@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
  Re: Strange problem with "Hendrik Maryns" <hendrik.maryns@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
    Re: Strange problem with "Deepanshu" <deepanshu@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
  Re: Strange problem with "Nigel Wade" <nigel.wade@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
  Re: Strange problem with "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
    Re: Strange problem with "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
      Re: Strange problem with "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
        Re: Strange problem with "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
  Re: Strange problem with "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
    Re: Strange problem with "Deepanshu" <deepanshu@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000
      Re: Strange problem with "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> - 2011-04-27 15:50 +0000

csiph-web