i wrote some code to draw a circle and a line and that line keeps pointing the same way as you started it but i dont know how to refresh
i use this
- Code: Select all
Graphics g = new Graphics()
g.drawLine(44,36,x,y)
g.clear()
and the x and y change the whole time but this code works but it isn't smooth the line disappears and appears randomly?
isn't there some sort of g.refresh() or something?
