Java Swing UIManager printDefaults()

Here you can find the source of printDefaults()

Description

Convenience method to print all the UI settings to System.out.

License

Open Source License

Declaration

public static final void printDefaults() 

Method Source Code

//package com.java2s;
import javax.swing.*;

import java.util.Enumeration;

public class Main {
    /**/*from w w w  .  j  av a  2  s  .c o  m*/
     * Convenience method to print all the UI settings to System.out.
     */
    public static final void printDefaults() {
        UIDefaults defaults = UIManager.getDefaults();
        Enumeration<Object> keys = defaults.keys();
        while (keys.hasMoreElements()) {
            Object key = keys.nextElement();
            System.out.println(key + ": " + defaults.get(key));
        }
    }
}

Related

  1. paintFocus(Graphics2D g, Shape shape, int biggestStroke)
  2. paintUnderlying(Graphics g, JComponent c)
  3. paintXpTabHeader(int type, Graphics g, int x, int y, int width)
  4. prepareGUI(final String appName)
  5. prepareTheme(final String overrideEnvVar)
  6. printUIDefaults()
  7. setComponentLF(JComponent comp, String ui)
  8. setCrossPlatformProperties()
  9. setDefaultSize(int size)