void () { var myComponent = this.myComponent.get(); myComponent.setToolTipText(null); if (isActive()) { boolean changes = false; if (!myComponent.isVisible()) { myComponent.setVisible(true); changes = true; } Icon icon = UISettings.getInstance().getHideToolStripes() ? AllIcons.General.TbShown : AllIcons.General.TbHidden; if (icon != myComponent.getIcon()) { myComponent.setIcon(icon); changes = true; } if (changes) { myComponent.revalidate(); myComponent.repaint(); } } else { myComponent.setVisible(false); myComponent.setToolTipText(null); } }