TIP: Don't access an implicit window from a thread

I couldn’t figure out why calling a method on a window was returning a ThreadAccessingUIException when that method did nothing to the UI.

Turns out if the window is an Implicit Instance and a thread is the first one to try to instantiate it, you’ll get at ThreadAccessingUIException. Which makes sense, really.

You can of course access it if you’re sure to instantiate it from the main thread first like an app.open.


or make the variables you need shared variables.

or even better, don’t use Implicit instances.