Main Class of the program
GUI is designed
Button functions are connected
Triggers are being conntected to the elements on the GUI
Algorithmenauswahl
(package private) ButtonGroup Algorithmenauswahl
Antwortsatz
(package private) JLabel Antwortsatz
Antwortzahlen
(package private) JPanel Antwortzahlen
Center
(package private) JPanel Center
Daten
(package private) JPanel Daten
North
(package private) JPanel North
Oben
(package private) JPanel Oben
South
(package private) JPanel South
West
(package private) JPanel West
Why
(package private) JButton Why
a
(package private) int[] a
anfangszahl
(package private) int anfangszahl
anfzpanel
(package private) JTextField anfzpanel
az0
(package private) JTextField az0
az1
(package private) JTextField az1
az10
(package private) JTextField az10
az11
(package private) JTextField az11
az12
(package private) JTextField az12
az13
(package private) JTextField az13
az14
(package private) JTextField az14
az15
(package private) JTextField az15
az16
(package private) JTextField az16
az17
(package private) JTextField az17
az18
(package private) JTextField az18
az19
(package private) JTextField az19
az2
(package private) JTextField az2
az3
(package private) JTextField az3
az4
(package private) JTextField az4
az5
(package private) JTextField az5
az6
(package private) JTextField az6
az7
(package private) JTextField az7
az8
(package private) JTextField az8
az9
(package private) JTextField az9
borderLayout1
(package private) BorderLayout borderLayout1
borderLayout2
(package private) BorderLayout borderLayout2
borderLayout3
(package private) BorderLayout borderLayout3
buffer
(package private) JComboBox buffer
cs
(package private) JRadioButton cs
fcfs
(package private) JRadioButton fcfs
fieldname
(package private) JTextField fieldname
flowLayout1
(package private) FlowLayout flowLayout1
gridLayout1
(package private) GridLayout gridLayout1
gridLayout2
(package private) GridLayout gridLayout2
gridLayout3
(package private) GridLayout gridLayout3
gridLayout4
(package private) GridLayout gridLayout4
gridLayout5
(package private) GridLayout gridLayout5
gridLayout6
(package private) GridLayout gridLayout6
gridLayout7
(package private) GridLayout gridLayout7
gridLayout8
(package private) GridLayout gridLayout8
gridLayout9
(package private) GridLayout gridLayout9
help
(package private) JButton help
isStandalone
(package private) boolean isStandalone
jLabel1
(package private) JLabel jLabel1
jPanel1
(package private) JPanel jPanel1
jPanel2
(package private) JPanel jPanel2
labelid
(package private) JLabel labelid
labelname
(package private) JLabel labelname
losung
(package private) JButton losung
nameid
(package private) JPanel nameid
passwdid
(package private) JPasswordField passwdid
pfeil
(package private) Pfeil pfeil
puffer1
(package private) Puffer puffer1
punkte
(package private) JTextField punkte
punkteliste
(package private) Liste punkteliste
richtung
(package private) boolean richtung
richtunghelp
(package private) int richtunghelp
sd
(package private) JRadioButton sd
send
(package private) JButton send
sstf
(package private) JRadioButton sstf
start
(package private) JButton start
startlosung
(package private) ButtonGroup startlosung
timer
(package private) JTextField timer
z
(package private) int[] z
zaehler
(package private) Timer zaehler
zahlen
(package private) JPanel zahlen
zufall
(package private) JTextField zufall
Why_actionPerformed
(package private) void Why_actionPerformed(ActionEvent e)
Pushing the Why button the answer will be shown
buffer_actionPerformed
(package private) void buffer_actionPerformed(ActionEvent e)
If there is a change in buffersize, the graphic picture of the buffer is
changed, too
destroy
public void destroy()
Destruction of the applet's environment is being triggered
getAppletInfo
public String getAppletInfo()
Personality of Applet
- String with text "FISCADI-Applet".
getCurrentAppletID
private String getCurrentAppletID()
Method sets AppletID
later used in the Sendeprotokoll
- selected AppletID returned as a String
getParameter
public String getParameter(String key,
String def)
Method to load System parameters from the environment
key
- selects the Information to get by its namedef
- Standard value given back if the key does not exist
- parameter information in the case, the key does exist;
otherwise the standard value is being returned.
getParameterInfo
public String[][] getParameterInfo()
further Information
- is null, no parameters are neither used nor accepted
help_actionPerformed
(package private) void help_actionPerformed(ActionEvent e)
Pushing the Help button, a short German and English online help will pop up
e
- Event from help button
init
public void init()
Initialisation is begin
called from the sandbox of the sourrounding
appletviewer when started first time
jbInit
private void jbInit()
throws Exception
Build up of the GUI
losung_actionPerformed
(package private) void losung_actionPerformed(ActionEvent e)
reaction of Stop button
Start algorithm for running in the background (new thread)
Solution is used to be compared to the user's answer
main
public static void main(String[] args)
Main-Methode
needed if started as stand-alone; emulation of the Applet's environment
send_actionPerformed
(package private) void send_actionPerformed(ActionEvent e)
Reaction on Send Button
Passwort and Id tested on proper length of 6 characters
else error; all stored data is send to the server
start
public void start()
convention for applets: Start is called at every start and any reload
start_actionPerformed
(package private) void start_actionPerformed(ActionEvent e)
reaction on pushing the Start Button
Timer starts, random numbers are generated
direction and position of head are ranomized
e
- Event of Start Button
stop
public void stop()
deactivation of applets