/** Reloads status icons. */ public void loadSkin() { super.loadSkin(); int count = getTabCount(); for (int i = 0; i < count; i++) { Component c = this.getComponentAt(i); if (c instanceof ChatPanel) setIconAt(i, ((ChatPanel) c).getChatSession().getChatStatusIcon()); } }