[josm-dev] Solution for the Ticket #1566
Dirk Stöcker
openstreetmap at dstoecker.de
Thu Sep 18 07:49:27 BST 2008
On Thu, 18 Sep 2008, Christoph Seitz wrote:
> I found the Problem with the SplashScreen. The Problem is, that
> invokeAndWait adds a Runnable to the Event Dispatcher and waits until
> its Finished. But the invokeAndWait is called in the Thread, so it adds
> it, but it will never execute it, because it's after the current Event
> and this will wait until the function is finished. So we got a block.
> There is no need to add it to the Event Dispatcher. Just run it. I added
> a Patch to Trac. I'm not sure about the intending of invokeAndWait, but
> with the Patch the SplashScreen will be hidden after you clicked on it.
It is a bad idea to close a bug before the patch has been applied :-)
Applied it.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list