Here you can find the source of getDefaultBorderColour()
public static Color getDefaultBorderColour()
//package com.java2s; /*//from w w w. j av a2 s . c o m * UIUtils.java 2/6/13 1:04 PM * * Copyright (C) 2012-2013 Nick Ma * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 3 * of the License, or any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ import java.awt.Color; import javax.swing.UIManager; public class Main { /** * Convenience method for consistent border colour. * * @return the system default border colour */ public static Color getDefaultBorderColour() { return UIManager.getColor("controlShadow"); } }