Event when an application is finished loading?

I’m using the GeoLocation add-on to try to locate the user of my Vaadin app when he loads the application.
But if I send the geolocation request at the end of my Application.init() method, it blocks the loading of the application until the geolocation response comes back.
Is there any way that I can send the geolocation request AFTER my application is finished loading?

I don’t know anything about this add-on, but can’t you just spawn a new thread from the init method?

    new Thread(new Runnable() {
        @Override
        public void run() {
            // code here
        }
    }).start();

If you need to store some return value, keep it in a volatile field and check it later. Or create a FutureTask for this and send it off to whatever code keeps track of these things to actually run it (which will return immediately in the application thread).

Cheers,
Bobby