Unwanted borders when scaling UI with opaque components

Interesting read. Just ran into the same problem.
About your workaround: Just be aware of this: if a component is setPaintingIsUnclipped(), it will always get repainted whenever its child is repainted!
So you might see worse UI performance.
See also this thread:

1 Like