added client and server classes
git-svn-id: svn://anubis/gvsu@27 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
4dd4e8b47b
commit
7516e45391
4
cs654/proj1/KaZaClient.java
Normal file
4
cs654/proj1/KaZaClient.java
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
public class KaZaClient
|
||||||
|
{
|
||||||
|
}
|
@ -14,6 +14,8 @@ public class KaZaGUI extends JFrame
|
|||||||
private JTextField m_serverField;
|
private JTextField m_serverField;
|
||||||
private ActionEventHandler m_handler;
|
private ActionEventHandler m_handler;
|
||||||
private JComboBox m_speedCombo;
|
private JComboBox m_speedCombo;
|
||||||
|
KaZaClient m_client;
|
||||||
|
KaZaServer m_server;
|
||||||
|
|
||||||
public KaZaGUI()
|
public KaZaGUI()
|
||||||
{
|
{
|
||||||
@ -64,7 +66,7 @@ public class KaZaGUI extends JFrame
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ConnectionSpeed
|
private class ConnectionSpeed
|
||||||
{
|
{
|
||||||
String m_caption;
|
String m_caption;
|
||||||
int m_kbps;
|
int m_kbps;
|
||||||
@ -161,6 +163,12 @@ public class KaZaGUI extends JFrame
|
|||||||
|
|
||||||
private JPanel getServerPanel()
|
private JPanel getServerPanel()
|
||||||
{
|
{
|
||||||
return new JPanel();
|
JPanel serverPanel = new JPanel();
|
||||||
|
serverPanel.setLayout(new BoxLayout(serverPanel, BoxLayout.Y_AXIS));
|
||||||
|
serverPanel.add(new JLabel("Transfers:"));
|
||||||
|
serverPanel.add(new Box.Filler(new Dimension(0, 0),
|
||||||
|
new Dimension(0, Short.MAX_VALUE),
|
||||||
|
new Dimension(0, Short.MAX_VALUE)));
|
||||||
|
return serverPanel;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
cs654/proj1/KaZaServer.java
Normal file
4
cs654/proj1/KaZaServer.java
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
public class KaZaServer
|
||||||
|
{
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user