Hi, you won’t be able to achieve that easily since UI modifications are done on the server side and transferred to the client via GWT RPCs. So a style change wouldn’t be realized until the server returns a response.
If you server response is long, you could background threads to do the server operation and return instantly, and then use polling or server push to communicate the long operation’s results to the client.
Another option might be to use some kind of custom client side component to add styling separate from Vaadin UI operations.