1.继承了JFrame
this.setVisible(true);
2.继承了JPanel
重写paint()函数
this.repaint();(调用paint)
窗口刷新和面板刷新
猜你喜欢
转载自blog.csdn.net/qq_41588302/article/details/104058289
今日推荐
周排行