initial classes, three tab GUI working

git-svn-id: svn://anubis/gvsu@22 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
josh committed 2008-03-07 21:07:48 +00:00
1 parent cb89c7a4ac
commit 39b6c90811
3 files changed
+52

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
public class KaZa
{
public static void main(String args[])
{
KaZaGUI gui = new KaZaGUI();
}
}
+32
View File
@@ -0,0 +1,32 @@
import java.awt.*;
import javax.swing.*;
public class KaZaGUI extends JFrame
{
public KaZaGUI()
{
super("Josh's KaZa application for CS654!");
setDefaultCloseOperation(EXIT_ON_CLOSE);
setSize(400, 400);
setVisible(true);
Container c = getContentPane();
JTabbedPane pane = new JTabbedPane();
c.add(pane);
JPanel clientPanel = new JPanel(new BorderLayout());
pane.add("Client", clientPanel);
JPanel transferPanel = new JPanel(new BorderLayout());
pane.add("Transfers", transferPanel);
JPanel serverPanel = new JPanel(new BorderLayout());
pane.add("Server", serverPanel);
}
public void run()
{
}
}
+11
View File
@@ -0,0 +1,11 @@
all:
javac *.java
.PHONY: run
run:
java KaZa
.PHONY: clean
clean:
-$(RM) -f *.class *~