Java如何在JFrame上擦除划过的线?然后重新画另外的线??在线等!!!!!!!
publicvoidpaint(Graphicsg){super.paint(g);g.drawLine(x,y,xx,yy);}...
public void paint(Graphics g)
{
super.paint(g);
g.drawLine(x, y,xx, yy);
} 展开
{
super.paint(g);
g.drawLine(x, y,xx, yy);
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询