×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Валерий Ишутин
Added: Aug 5, 2014 8:10 PM
Views: 24
  1. Image im = Toolkit.getDefaultToolkit().getImage("/home/hexretrotech/NetBeansProjects/systemTrayExample/src/systemtray/logo.gif");
  2. Point po = new Point(1, 1);
  3. window.setCursor(Toolkit.getDefaultToolkit().createCustomCursor(im, po, "new"));
  4.