Constants.INCOMING_MESSAGE, message.getContent());
if (msgWindow.getState() == JFrame.ICONIFIED) {
msgWindow.setTitle("*" + msgWindow.getTitle());
}
if (Constants.AUTO_POPUP_NEW_MESSAGE) {
<BUG>if(msgWindow.isVisible())

msgWindow.toFront();
else</BUG>
msgWindow.setVisible(true);

Constants.INCOMING_MESSAGE, message.getContent());
if (msgWindow.getState() == JFrame.ICONIFIED) {
msgWindow.setTitle("*" + msgWindow.getTitle());
