Here you can find the source of getDark()
public static Color getDark()
//package com.java2s; //License from project: LGPL import java.awt.Color; import javax.swing.UIManager; public class Main { private static final String TABLE_FOREGROUND_COLOR_KEY = "Table.foreground"; public static Color getDark() { return UIManager.getColor(TABLE_FOREGROUND_COLOR_KEY); }//from w ww . j a v a 2 s. c o m }