Here you can find the source of getTitleBarIcon()
public static Icon getTitleBarIcon()
//package com.java2s; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.UIManager; public class Main { /**//from w w w. ja v a 2 s.c om * Obtains the title bar icon configured for this SOLA application based on * the LAF theme. * * @return */ public static Icon getTitleBarIcon() { Icon result = UIManager.getIcon("solaTitleBarIcon"); if (result == null) { result = new ImageIcon(); } return result; } }