[quote]Is re-calling setRoot() on a UIWindow still the only way to mark the component as completely dirty? It just didn’t feel like the final solution.
[/quote]
It’s good you mention this. I noticed this, when I wrote SwingFPSCounter, but forgot to write about it in the forum. Currently I don’t know a better way to mark the component as completely dirty. If no one else knows, I’ll submit this as an issue.
Regarding the window-resizing: I found out that adding
canvas.get3DPeer().getComponent().setFocusable(true);
solves the problem. However I don’t know if that’s obvious. What do you think?