WindowSocket.post(screen, "wsock", "Hello Child!");
}
}
});
WindowSocket socket = new WindowSocket();
socket.addHandler(new WindowSocket.MessageHandler() {
@Override
public void onMessage(String message) {
Info.display("Received through window socket", message);
}
});
socket.bind("wsock");
RootPanel.get("buttons").add(button);
RootPanel.get("buttons").add(post);
RootPanel.get("buttons").add(pollButton);
RootPanel.get("buttons").add(wnd);