java - Why doesn't the MOVE_CURSOR show up on OSX Mountain Lion? -


i'm working on project , want see each of cursors provided swing like.

public class test {     public static void main(string args[]){         jframe frame = new jframe();          frame.setcursor(new cursor(cursor.move_cursor));         frame.setsize(400, 400);          frame.setvisible(true);     }  } 

however, when use crosshair cursor works.

frame.setcursor(new cursor(cursor.crosshair_cursor)); 

when mouseover frame, shows default cursor. doesn't change move cursor. cursor implementations platform dependent?


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -