Attempted fix for offline contact taking over focus
@@ -431,7 +431,8 @@ public class ChatContainer extends SparkTabbedPane implements MessageListener, C
if (chatFrame.isVisible() && (chatFrame.getState() == Frame.ICONIFIED || chatFrame.getInactiveTime() > 20000)) {
int tabLocation = indexOfComponent(chatRoom);
- setSelectedIndex(tabLocation);
+ //setSelectedIndex(tabLocation);
+ System.err.println("Inactive for Long "+ tabLocation);
groupChatMessageCheck(chatRoom, customMsg, customMsgText, customMsgTitle);
return;
}
