diff --git a/cs654/proj1/KaZaGUI.java b/cs654/proj1/KaZaGUI.java index 85cb5c2..22834e1 100644 --- a/cs654/proj1/KaZaGUI.java +++ b/cs654/proj1/KaZaGUI.java @@ -132,7 +132,7 @@ public class KaZaGUI extends JFrame m_statusLabel = new JLabel(); m_connectButton = new JButton("Connect"); m_connectButton.addActionListener(m_handler); - m_closeButton = new JButton("Close"); + m_closeButton = new JButton("Exit"); m_closeButton.addActionListener(m_handler); m_searchButton = new JButton("Search"); m_searchButton.addActionListener(m_handler); diff --git a/cs654/proj1/KaZaServer.java b/cs654/proj1/KaZaServer.java index 9635b9b..5429a90 100644 --- a/cs654/proj1/KaZaServer.java +++ b/cs654/proj1/KaZaServer.java @@ -10,6 +10,12 @@ public class KaZaServer implements Runnable private HashMap m_clientData; private Vector m_peerGroupLeaders; + public KaZaServer() + { + m_clientData = new HashMap(); + m_peerGroupLeaders = new Vector(); + } + public void run() { try {