I don't think this is possible because it involves changing the mouse cursor of the display. If it is possible, how can I do it? Thanks in advance.
public void changeCursor()
{
Toolkit toolkit = Toolkit.getDefaultToolkit();
Image image = toolkit.getImage("nothing.png");
Point point = new Point(0,0);
Cursor cursor = toolkit.createCustomCursor(image,point,"Cursor");
setCursor(cursor);
}