ImageFrame.showReceivedImage((ImageIcon)message.getMessageContent(), message.getSender());
}
else if (message.getMessageKind() == Constants.MESSAGE_KIND_STATUS)
{
boolean newStatus = (Boolean)message.getMessageContent();
Host host = Host.findHost(message.getSender());
if (host == null)
{
System.out.println("ChatFrame.update() Imposible encontrar el host a actualizar");
return;
}
host.setConnected(newStatus);
setTitle("Chitero... " + Globals.localHostName + " - " + (Globals.online?"ONLINE":"OFFLINE"));
appendText(getTimeStr() + " <b> ** " + message.getSender().toUpperCase() + " ESTA " + (newStatus?"ONLINE!":"OFFLINE") + " </b> ", "purple");
reloadComboOptions();
if (owner.getMenu() != null)
owner.getMenu().updatePopupSubMenu();