private static final String DEFAULT_PASSWORD = "eclipsecon";
private static final String DEFAULT_USERNAME = "eclipsecon@ecf.eclipse.org";
public Client4() {
super(new IMessageReceiver() {
public void handleMessage(final IChatMessage chatMessage) {
Display.getDefault().asyncExec(new Runnable() {
public void run() {
MessageDialog.openInformation(null, "XMPP message from "
+ chatMessage.getFromID().getName(), chatMessage.getBody());