typingMessage.setTypingUser(switchboard.getMessenger()
.getOwner().getDisplayName());
switchboard.sendMessage(typingMessage);
//text message
MsnInstantMessage message = new MsnInstantMessage();
message.setBold(false);
message.setItalic(false);
message
.setFontRGBColor((int) (Math.random() * 255 * 255 * 255));
message.setContent("hello, " + contact.getFriendlyName());
switchboard.sendMessage(message);
}
public void switchboardClosed(MsnSwitchboard switchboard) {
switchboard.getMessenger().removeSwitchboardListener(this);