Here you can find the source of getToolBorder()
public static Border getToolBorder()
//package com.java2s; // This software is released under the GNU General Public License. // import javax.swing.*; import javax.swing.border.*; public class Main { /**/* w w w .j a v a2 s. c o m*/ * Customized border for tool buttons, to use consistently in all UI * components */ private static Border toolBorder; /** * Report a standard tool border entity, which is a raised bevel border * * @return the standard tool border */ public static Border getToolBorder() { if (toolBorder == null) { toolBorder = BorderFactory.createRaisedBevelBorder(); } return toolBorder; } }