Java Swing UIManager getDefaultForeground()

Here you can find the source of getDefaultForeground()

Description

Returns the default color for foreground in user's color scheme.

License

Open Source License

Return

the default color for foreground in user's color scheme.

Declaration

public static Color getDefaultForeground() 

Method Source Code


//package com.java2s;
import java.awt.Color;

import javax.swing.UIManager;

public class Main {
    /**//from   www . java  2s.c  om
     * Returns the default color for foreground in user's color scheme.
     * 
     * @return the default color for foreground in user's color scheme.
     */
    public static Color getDefaultForeground() {
        return UIManager.getColor("textText");
    }
}

Related

  1. getClassLoaderForResources()
  2. getDark()
  3. getDefaultActiveBackgroundColour()
  4. getDefaultAttributeSet()
  5. getDefaultFieldHeigth()
  6. getDefaultInactiveBackgroundColour()
  7. getErrorIcon()
  8. getGrayFilter()
  9. getGtkThemeName()