Image image = toolkit.getImage("images/Brush.png");
Cursor c = toolkit.createCustomCursor(image,
new Point(paintCanvas.getX(), paintCanvas.getY()), "img");
paintCanvas.setCursor(c);
paintCanvas.addMouseMotionListener(new MouseMotionListener() {
@Override
public void mouseMoved(MouseEvent arg0) {
}