Class TestApplet
java.lang.Object
java.awt.Component java.awt.Container java.awt.Panel java.applet.Applet TestApplet All Implemented Interfaces:
java.awt.image.ImageObserver, javax.accessibility.Accessible
public class TestApplet
extends Applet
The sample applet that collects a report and submits it through the Web.
Inner classes inherited from class java.applet.Applet |
Applet.AccessibleApplet |
Inner classes inherited from class java.awt.Panel |
Panel.AccessibleAWTPanel |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary |
|
|
|
|
|
|
|
|
|
|
|
|
|
initGUI()This method is called from within the init() method to initialize the form. |
|
|
|
|
|
|
|
|
Methods inherited from class java.applet.Applet |
destroy, getAppletInfo, init, start, stop |
Field Detail
contentPanel
private Panel contentPanel = new Panel()
buttonPanelContainer
private Panel buttonPanelContainer = new Panel()
reportTextArea
private TextArea reportTextArea = new TextArea()
reportLabel
private Label reportLabel = new Label()
submitButton
private Button submitButton = new Button()
clearButton
private Button clearButton = new Button()
butttonPanel
private Panel butttonPanel = new Panel()
reportEmptyDialog
private Dialog reportEmptyDialog = new Dialog(new Frame())
dialogButtonPanel
private Panel dialogButtonPanel = new Panel()
dialogOkButton
private Button dialogOkButton = new Button()
reportEmptyLabel
private Label reportEmptyLabel = new Label()
Method Detail
init
public void init()
Overrides:
init in class Applet
start
public void start()
Overrides:
start in class Applet
stop
public void stop()
Overrides:
stop in class Applet
destroy
public void destroy()
Overrides:
destroy in class Applet
getAppletInfo
public String getAppletInfo()
Overrides:
getAppletInfo in class Applet
initGUI
private void initGUI()
This method is called from within the init() method to initialize the form.
clearButtonActionPerformed
public void clearButtonActionPerformed(ActionEvent e)
submitButtonActionPerformed
public void submitButtonActionPerformed(ActionEvent e)
closeReportEmptyDialog
private void closeReportEmptyDialog()
reportEmptyDialogWindowClosing
public void reportEmptyDialogWindowClosing(WindowEvent e)
dialogOkButtonActionPerformed
public void dialogOkButtonActionPerformed(ActionEvent e)