Re: [Fwd: Problem with AWT/Swing code]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il giorno gio, 16/10/2008 alle 19.08 +0200, Mario Torre ha scritto:

> But we clearly do the wrong thing there. The
> SwingUtilities.invokeLater() should queue the runnable, what I see here
> is that we keep executing them as soon as they arrive.

I reply to myself :)

We don't do the wrong thing, as Roman said Sun simply rearrange the
events, we don't, and I don't see a reason for doing it on our code
(it's just an implementation detail).

I suggest you to use a Timer for doing the same thing.

Cheers,
Mario
-- 
Mario Torre, Software Developer, http://www.jroller.com/neugens/
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-53
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim
Geschäftsführer: Dr. James J. Hunt

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/




[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux