@Override protected void paintIcon(final Graphics g, final int tabPlacement, final int tabIndex, final Icon icon, final Rectangle iconRect, final boolean isSelected) { final Rectangle r = new Rectangle(iconRect); if (!_pane.getUnclosables().contains(tabIndex)) { r.x -= CLOSE_ICON_WIDTH - (CLOSE_ICON_WIDTH / 2); } super.paintIcon(g, tabPlacement, tabIndex, icon, r, isSelected); }
|| currState.isDisabled()) { super.paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected); return; tabIndex, icon); if (tabTracker == null) { super.paintIcon(g, tabPlacement, tabIndex, themed, iconRect, isSelected); } else { Graphics2D g2d = (Graphics2D) g.create(); super.paintIcon(g2d, tabPlacement, tabIndex, icon, iconRect, isSelected); g2d .getFacetStrength(ComponentStateFacet.ROLLOVER), g2d)); super.paintIcon(g2d, tabPlacement, tabIndex, themed, iconRect, isSelected); g2d.dispose(); super.paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);
|| currState.isDisabled()) { super.paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected); return; tabIndex, icon); if (tabTracker == null) { super.paintIcon(g, tabPlacement, tabIndex, themed, iconRect, isSelected); } else { Graphics2D g2d = (Graphics2D) g.create(); super.paintIcon(g2d, tabPlacement, tabIndex, icon, iconRect, isSelected); g2d .getFacetStrength(ComponentStateFacet.ROLLOVER), g2d)); super.paintIcon(g2d, tabPlacement, tabIndex, themed, iconRect, isSelected); g2d.dispose(); super.paintIcon(g, tabPlacement, tabIndex, icon, iconRect, isSelected);