dialog.requestFocusInFiled();
}
else if (itemName.equalsIgnoreCase("viewHistory")) {
HistoryWindow history;
if(guiContactList.containsHistoryWindowForContact(contactItem)) {
<BUG>history = guiContactList.getHistoryWindowForContact(contactItem);
history.toFront();</BUG>
}
else {
history = new HistoryWindow(

dialog.requestFocusInFiled();
}
else if (itemName.equalsIgnoreCase("viewHistory")) {
HistoryWindow history;
if(guiContactList.containsHistoryWindowForContact(contactItem)) {
history = guiContactList.getHistoryWindowForContact(contactItem);
if(history.getState() == JFrame.ICONIFIED)
history.setState(JFrame.NORMAL);
history.toFront();
}
else {
history = new HistoryWindow(
