Friday, May 20, 2011

There are 2 options for broadcast :
1. server send message to a topic then the client must listen to the topic (clients also have to listen to their temp queue).
2. server send message to all temporary queue of connected clients, in this case clients don't have to listen to the topic.

We will chose option #1 as planned before.

Todo:
- make the list of clients taller (learn swing, layout mgr & etc.)
spClients.setBorder(new TitledBorder(BorderFactory.createEmptyBorder(), "Choose Client :"));
spClients.setPreferredSize(new Dimension(100, 200));
spClients.getViewport().add(lstClients);
pnClients.add(spClients);

1011

No comments:

Post a Comment