List of usage examples for javax.swing JFrame setIconImage
public void setIconImage(Image image)
From source file:VASSAL.tools.ApplicationIcons.java
public static void setFor(JFrame w) { if (icons == null) return;/* w w w .j ava 2 s .c om*/ if (setIconImages != null) { setIconImages(w); } else { // Load a single image as a fallback and watch in horror as it // gets scaled to ridiculous sizes. w.setIconImage(icons.get(0)); } }