×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Валерий Ишутин
Added: Jul 30, 2014 7:56 PM
Views: 11
  1. Image im = Toolkit.getDefaultToolkit().getImage("/home/hexretrotech/NetBeansProjects/systemTrayExample/src/systemtray/logo.gif");
  2. windowClass window = new windowClass();
  3. window.setIconImage(im);
  4. window.setVisible(true);