Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Hani Ibrahim
Added: Dec 30, 2016 1:57 AM
Modified: Aug 16, 2018 4:54 PM
Views: 41
load Programicon. Should be stored in the src-folder. Put in constructor. Class should be "final"
  1. this.setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("XXX.png")));