Class Login

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----Login

public class Login
extends Applet
implements Runnable
Starting point for the client jgames
The applet default web page is named "login.html"

version 1.0b1 26/04/98
author Pierre-Mikael Legris (plegris@fbwww.epfl.ch)
  Login
   connect to the server, when the nick is ok 
   create a new player : Wplayer and launch it in
   a new waiting room Wpanel
  Wplayer(nick , socket , comment)
   cf Human & Player (server side)   
  Wpanel(Wplayer)
   this is the waiting room (client side of Mstream)
   when two users start a game die and give the user 
   to Gpanel
  Gpanel(Wplayer , message)
   this is the Frame that display the game using
   MBoard and MRules (client side of Game)
  Mboard()
   this is a canvas that display the game board and 
   feedback Gpanel with the moves

Version:
1.0b1 26/04/98

Variable Index

 o connected
 o entry
 o entry2
 o fcomm
 o fnick
 o go
 o header
 o help
 o help2
 o host
 o infos
 o ligne
 o loged
 o me
 o myThread
 o panel
 o port
 o result
 o result2
 o s
 o sin
 o sout
 o sURL

Constructor Index

 o Login()

Method Index

 o action(Event, Object)
 o init()
 o makeUI()
 o parseS(String)
 o run()
 o start()
 o stop()

Variables

 o header
 Label header
 o result
 Label result
 o result2
 Label result2
 o help
 Label help
 o help2
 Label help2
 o entry
 TextField entry
 o entry2
 TextField entry2
 o go
 Button go
 o infos
 Label infos
 o myThread
 Thread myThread
 o s
 Socket s
 o host
 String host
 o port
 int port
 o sin
 DataInputStream sin
 o sout
 PrintStream sout
 o connected
 boolean connected
 o loged
 boolean loged
 o ligne
 String ligne
 o fnick
 String fnick
 o fcomm
 String fcomm
 o me
 Wplayer me
 o panel
 Wpanel panel
 o sURL
 static String sURL

Constructors

 o Login
 public Login()

Methods

 o start
 public void start()
Overrides:
start in class Applet
 o init
 public void init()
Overrides:
init in class Applet
 o run
 public void run()
 o parseS
 public void parseS(String text)
 o stop
 public void stop()
Overrides:
stop in class Applet
 o makeUI
 public void makeUI()
 o action
 public boolean action(Event e,
                       Object o)
Overrides:
action in class Component