Java paint重写之后黑屏

java中paint重写之后黑屏


解决办法:

在窗体初始化中,将this.setVisible(true);放到最后。

结果:

新赛季的开始
原文地址:https://www.cnblogs.com/VagrantAC/p/12573555.html