Java tutorial
//package com.java2s; import javax.swing.JComponent; import javax.swing.border.Border; import javax.swing.border.EmptyBorder; public class Main { static Border border6 = new EmptyBorder(6, 6, 6, 6); /** * DOCUMENT ME! * * @param c DOCUMENT ME! */ public static void setBorder6(JComponent c) { c.setBorder(border6); } }