On Fri, 24 Sep 2021 11:17:18 GMT, Masanori Yano <[email protected]> wrote:
> This is a RepaintArea's behavior. clearRect() is called before paint() > because shouldClearRectBeforePaint is true for Canvas. Then, if 2nd paint() > is called and paint() does nothing, blank window will be drawn. So the "sun.awt.noerasebackground" property may fix the problem? Or simple freeze the EDT after g2d.copyArea? ------------- PR: https://git.openjdk.java.net/jdk/pull/5491
