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


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

Re: Strange problem with

From "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this>
Subject Re: Strange problem with
Message-ID <6nil3mFlpc83U1@mid.individual.net> (permalink)
Newsgroups comp.lang.java.gui
References <nospam-C8C450.14331006112008@news.motzarella.org>
Date 2011-04-27 15:50 +0000
Organization TDS.net

Show all headers | 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