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.


1 2 3 4 5 6 7 8 | 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); } |