Here you can find the source of getEmptyBorder()
private static Border getEmptyBorder()
//package com.java2s; /*************************************** * ViPER * * The Video Processing * * Evaluation Resource * * * * Distributed under the GPL license * * Terms available at gnu.org. * * * * Copyright University of Maryland, * * College Park. * ***************************************/ import javax.swing.border.*; public class Main { private static Border _emptyBorder; private static Border getEmptyBorder() { if (_emptyBorder == null) { _emptyBorder = new EmptyBorder(1, 1, 1, 1); }/*from ww w.j a v a 2s .com*/ return _emptyBorder; } }