]> code.citadel.org Git - citadel.git/commitdiff
opps... these should have been removed before
authorChilly <chilly@uncensored.citadel.org>
Thu, 12 Aug 1999 01:04:30 +0000 (01:04 +0000)
committerChilly <chilly@uncensored.citadel.org>
Thu, 12 Aug 1999 01:04:30 +0000 (01:04 +0000)
shaggy/citFrame.java [deleted file]
shaggy/citPanel.java [deleted file]

diff --git a/shaggy/citFrame.java b/shaggy/citFrame.java
deleted file mode 100644 (file)
index 7fa3154..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/* citFrame.java
- * shell for citPanel, so we can be an applet and application
- */
-
-import java.awt.*;
-
-public class citFrame extends Frame {
-  citPanel     cp;
-
-  public citFrame() {
-    super( "Citadel!" );
-
-    setLayout( new BorderLayout() );
-
-    add( "Center", cp = new citPanel() );
-
-    resize( 400, 400 );
-    show();
-  }
-
-  public boolean handleEvent( Event e ) {
-    if( e.id == Event.WINDOW_DESTROY ) {
-      if( citadel.me.theNet != null )
-       citadel.me.getReply( "QUIT" );
-      System.out.println( "Bye bye!" );
-      System.exit( 0 );
-    }
-    return super.handleEvent( e );
-  }
-}
-
diff --git a/shaggy/citPanel.java b/shaggy/citPanel.java
deleted file mode 100644 (file)
index 8c46e50..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/* citPanel.java
- * The daddy of the mack daddy.
- */
-
-import java.awt.*;
-
-public class citPanel extends Panel {
-  loginPanel   lp;
-  mainPanel    mp;
-  messagePanel msgp;
-  enterPanel   ep;
-  logoffPanel  offP;
-
-  CardLayout   deck;
-
-  public  citPanel() {
-    setLayout( deck = new CardLayout() );
-
-    add( "Login", lp = new loginPanel() );
-    add( "Main", mp = new mainPanel() );
-    add( "Message", msgp = new messagePanel() );
-    add( "Enter", ep = new enterPanel() );
-    add( "Logoff", offP = new logoffPanel() );
-
-    citadel.me.setCitPanel( this );
-    login();
-  }
-
-  public void login() {
-    deck.show( this, "Login" );
-    lp.refresh();
-  }
-
-  public void mainMenu() {
-    deck.show( this, "Main" );
-    mp.refresh();
-  }
-
-  public void enterRoom( citReply r ) {
-    deck.show( this, "Message" );
-    msgp.refresh( r );
-  }
-
-  public void enterMsg( String room ) {
-    enterMsg( room, null );
-  }
-
-  public void enterMsg( String room, String recip ) {
-    deck.show( this, "Enter" );
-    ep.refresh( room, recip );
-  }
-
-  public void logoff( String err ) {
-    offP.refresh( err );
-    deck.show( this, "Logoff" );
-  }
-}