Java Swing UIManager getTitleBarIcon()

Here you can find the source of getTitleBarIcon()

Description

Obtains the title bar icon configured for this SOLA application based on the LAF theme.

License

Open Source License

Declaration

public static Icon getTitleBarIcon() 

Method Source Code

//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;
    }
}

Related

  1. getPropertyMaxGutterIconWidth(final String propertyPrefix)
  2. getRowHeight(java.awt.Component c)
  3. getSeparator()
  4. getStringWidth(final String aString)
  5. getSystemDefaultModifier()
  6. getToolTipBackground()
  7. getToolTipBackground()
  8. getToolTipForeground()
  9. getUIDefaultOfClass(Class clazz, String property)