Class TestDialog
<default>
java.lang.Object
  java.awt.Component
      java.awt.Container
          java.awt.Window
              java.awt.Dialog
                  TestDialog
All Implemented Interfaces:
java.awt.image.ImageObserver, javax.accessibility.Accessible

public class TestDialog
extends Dialog
This example shows AWT Dialog.
Author:
TogetherSoft
See Also:  Node Documentation, UI Documentation

Inner classes inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog
Inner classes inherited from class java.awt.Window
Window.AccessibleAWTWindow
Inner classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
Inner classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
Field Summary
private Panel
private Panel
private Button
private Checkbox
private Checkbox
private CheckboxGroup
private Panel
private Button
private Label
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
Constructor Summary
TestDialog(Frame frame)
Method Summary
void
void
void
initGUI()
This method is called from within the constructor to initialize the form.
static void
main(String[] args)
void
ok()
void
void
thisWindowClosing(WindowEvent e)
Field Detail
contentPanel
private Panel contentPanel = new Panel()
See Also:  UI Component

buttonPanel
private Panel buttonPanel = new Panel()
See Also:  UI Component

butttonHolder
private Panel butttonHolder = new Panel()
See Also:  UI Component

okButton
private Button okButton = new Button()
See Also:  UI Component

cancelButton
private Button cancelButton = new Button()
See Also:  UI Component

checkboxGroup1
private CheckboxGroup checkboxGroup1 = new CheckboxGroup()
See Also:  UI Component

optionLabel
private Label optionLabel = new Label()
See Also:  UI Component

checkbox1
private Checkbox checkbox1 = new Checkbox()
See Also:  UI Component

checkbox2
private Checkbox checkbox2 = new Checkbox()
See Also:  UI Component
Constructor Detail
TestDialog
public TestDialog(Frame frame)
Method Detail
initGUI
void initGUI()
This method is called from within the constructor to initialize the form.

cancel
void cancel()

ok
void ok()

thisWindowClosing
public void thisWindowClosing(WindowEvent e)

okButtonActionPerformed
public void okButtonActionPerformed(ActionEvent e)

cancelButtonActionPerformed
public void cancelButtonActionPerformed(ActionEvent e)

main
public static void main(String[] args)