在java的jpanel绘制图形

在java的jpanel绘制图形 使用paint方法,在里面使用super.paint清除以前的残留 在while里使用repaint进行循环绘画java public void display() { this.repaint(); } public void paint(Graphics g) { super.paint(g); dao.drawBackground(g);
相关文章
相关标签/搜索