Java Color Value getTitleLineBorderColor()

Here you can find the source of getTitleLineBorderColor()

Description

get Title Line Border Color

License

Open Source License

Declaration

public static Color getTitleLineBorderColor() 

Method Source Code

//package com.java2s;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.LineBorder;

import java.awt.*;

public class Main {

    public static Color getTitleLineBorderColor() {
        Border b = UIManager.getBorder("TitledBorder.border");
        if (b instanceof LineBorder) {
            return ((LineBorder) b).getLineColor();
        }/*from  w ww. ja  v  a  2s .  c o m*/

        return Color.GRAY;
    }
}

Related

  1. getSubstanceColor(String name)
  2. getTextColor()
  3. getTextForegroundColor()
  4. getTextInactiveTextColor()
  5. getTextPaneLabel(JScrollPane jsp, Color textColor)
  6. getUIColor(String code)
  7. getValidFieldColor()
  8. getXpHeaderColor(int type, boolean fill)
  9. listUIColorResources()