45 |
|
HostDisplayPanel host = new HostDisplayPanel(); |
46 |
|
_tabbedPane.addTab(hostName, _serverIcon, host, "Monitor " + hostName); |
47 |
|
hostList.put(hostName, host); |
48 |
< |
//_status.insert("New Host added: " + hostName + "\n", 0); |
48 |
> |
SwingClient.addMessage("New Host added: " + hostName); |
49 |
|
} |
50 |
|
((HostDisplayPanel) hostList.get(hostName)).updateHost(packet); |
51 |
|
} |
58 |
|
public void setQueue(Queue queue) { |
59 |
|
_dataQueue = queue; |
60 |
|
_myQueue = _dataQueue.getQueue(); |
61 |
+ |
} |
62 |
+ |
|
63 |
+ |
public void cleanUpTabs() { |
64 |
+ |
_tabbedPane.removeAll(); |
65 |
|
} |
66 |
|
|
67 |
|
JTabbedPane _tabbedPane = new JTabbedPane(); |