< prev index next >

src/java.desktop/share/classes/javax/swing/table/DefaultTableCellRenderer.java

Print this page

        

*** 93,102 **** --- 93,105 ---- * <code>getTableCellRendererComponent</code> method and set the border * of the returned component directly. */ private static final Border SAFE_NO_FOCUS_BORDER = new EmptyBorder(1, 1, 1, 1); private static final Border DEFAULT_NO_FOCUS_BORDER = new EmptyBorder(1, 1, 1, 1); + /** + * A border without focus. + */ protected static Border noFocusBorder = DEFAULT_NO_FOCUS_BORDER; // We need a place to store the color the JLabel should be returned // to after its foreground and background colors have been set // to the selection background color.
< prev index next >