src/share/classes/com/sun/java/swing/plaf/windows/WindowsTableHeaderUI.java
Print this page
*** 89,101 ****
this.isSelected = isSelected;
this.hasFocus = hasFocus;
this.column = column;
this.hasRollover = (column == getRolloverColumn());
if (skin == null) {
! skin = XPStyle.getXP().getSkin(header, Part.HP_HEADERITEM);
}
! Insets margins = skin.getContentMargin();
Border border = null;
int contentTop = 0;
int contentLeft = 0;
int contentBottom = 0;
int contentRight = 0;
--- 89,102 ----
this.isSelected = isSelected;
this.hasFocus = hasFocus;
this.column = column;
this.hasRollover = (column == getRolloverColumn());
if (skin == null) {
! XPStyle xp = XPStyle.getXP();
! skin = (xp != null) ? xp.getSkin(header, Part.HP_HEADERITEM) : null;
}
! Insets margins = (skin != null) ? skin.getContentMargin() : null;
Border border = null;
int contentTop = 0;
int contentLeft = 0;
int contentBottom = 0;
int contentRight = 0;