Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4860
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: Canvas Wanted (simple question) |
| Date | 2011-12-23 21:48 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <jd3p35$pks$1@dont-email.me> (permalink) |
| References | <4ee52877$0$5797$65785112@news.neostrada.pl> <jc3fu9$31u$1@dont-email.me> <8lxthes2ckbz.x1cfm0fm94x5$.dlg@40tude.net> <jd3ng5$ke8$1@dont-email.me> |
On 12/23/2011 9:21 PM, Knute Johnson wrote: > I don't think you will find that position anywhere in Sun's > documentation. You used to be able to, around Java 5 release, but not anymore. They recognized that it was wrong and retracted it. They used to claim that you didn't need to worry about it until the EDT was started, but field reports showed their assumptions where wrong. > In fact they specify that you must create the Swing > components on the EDT. In the code above, how could it possibly run if > there was no EDT until the setVisible() method was called? The main problem with this was action listeners and other call backs that would fire while the Swing classes were being constructed. However, from the perspective of the Java memory model, there's no safe publication either unless you add some. It's all EDT now, even during class construction.
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
Canvas Wanted (simple question) Paweł Lampe <scony@sconysoft.com> - 2011-12-11 22:02 +0000
Re: Canvas Wanted (simple question) Knute Johnson <nospam@knutejohnson.com> - 2011-12-11 15:55 -0800
Re: Canvas Wanted (simple question) Joerg Meier <joergmmeier@arcor.de> - 2011-12-24 01:49 +0100
Re: Canvas Wanted (simple question) markspace <-@.> - 2011-12-23 17:26 -0800
Re: Canvas Wanted (simple question) Joerg Meier <joergmmeier@arcor.de> - 2011-12-24 03:41 +0100
Re: Canvas Wanted (simple question) markspace <-@.> - 2011-12-23 21:42 -0800
Re: Canvas Wanted (simple question) Joerg Meier <joergmmeier@arcor.de> - 2011-12-24 14:16 +0100
Re: Canvas Wanted (simple question) markspace <-@.> - 2011-12-24 06:47 -0800
Re: Canvas Wanted (simple question) Knute Johnson <nospam@knutejohnson.com> - 2011-12-23 21:21 -0800
Re: Canvas Wanted (simple question) markspace <-@.> - 2011-12-23 21:48 -0800
Re: Canvas Wanted (simple question) Joerg Meier <joergmmeier@arcor.de> - 2011-12-24 14:20 +0100
Re: Canvas Wanted (simple question) "John B. Matthews" <nospam@nospam.invalid> - 2011-12-24 11:22 -0500
Re: Canvas Wanted (simple question) Roedy Green <see_website@mindprod.com.invalid> - 2011-12-12 09:58 -0800
Re: Canvas Wanted (simple question) Paweł Lampe <scony@sconysoft.com> - 2011-12-14 15:57 +0000
Re: Canvas Wanted (simple question) Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-12-14 10:21 -0800
csiph-web