return super.getTitleAt(index);
}
public Icon getIconAt(int index) {
if (getSelectedIndex() == index) {
Content content = contentMap.get(index);
if (content == null)
return super.getIconAt(index);
ContentUI contentUI = content.getContentUI();
if (contentUI == null)
return super.getIconAt(index);
titleIcon.setText(super.getTitleAt(index));
titleIcon.setUnderlinedIndex(
SwingUtil.findDisplayedMnemonicIndex(super.getTitleAt(index),
getContentAt(index).getMnemonic())
);
tabIconTitle.setLeftIcon(super.getIconAt(index));
minCloseDetachIcon.setLeftVisible(contentUI.isMinimizable());
closeDetachIcon.setLeftVisible(contentUI.isDetachable());
closeDetachIcon.setRightVisible(contentUI.isCloseable());
((ExAggregateIcon) selectedTabIcon).setIndex(index);
return selectedTabIcon;
} else if (flashingContents.containsKey(getContentAt(index))) {
Content content = getContentAt(index);
Object o = flashingContents.get(content);
if (o == null) {
TextIcon textIcon = new TextIcon(this, super.getTitleAt(index), TextIcon.ROTATE_NONE);
textIcon.setUnderlinedIndex(
SwingUtil.findDisplayedMnemonicIndex(super.getTitleAt(index),