rj
2013-07-04 22:32:08
So I tried to create a method to muilti-thread and draw the mouse for a script:
But I get this error:

I can put the code in my pain method, but it will only draw the mouse once and then not update it, but it will update it if I move the mouse myself :s
@Override
public void drawMouse(Graphics g) {
final Point mouse = Mouse.getInstance().getPoint();
g.setColor(Color.green);
g.drawLine(mouse.x - 1000, mouse.y, mouse.x + 1000, mouse.y);
g.drawLine(mouse.x, mouse.y - 1000, mouse.x, mouse.y + 1000);
}But I get this error:

I can put the code in my pain method, but it will only draw the mouse once and then not update it, but it will update it if I move the mouse myself :s
