com.gsoft.titration.client
Class MessageDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--com.gsoft.titration.client.MessageDialog

public class MessageDialog
extends JDialog
implements ActionListener


Field Summary
 private BorderLayoutborderLayout1
           
 private BorderLayoutborderLayout2
           
 private JButtonbutton1
           
 final static intERROR_DIALOG
           
 private JLabelerrorLbl
           
 private FlowLayoutflowLayout1
           
 private GridLayoutgridLayout1
           
 private ImageIconimage1
           
 private JLabelimageLabel
           
 private JPanelinsetsPanel1
           
 private JPanelinsetsPanel2
           
 private JPanelinsetsPanel3
           
 private JLabellabel2
           
 private Stringmessage
           
 final static intMESSAGE_DIALOG
           
 private intMSG_TYPE
           
 private JPanelpanel1
           
 private JPanelpanel2
           

Fields inherited from class javax.swing.JDialog
rootPane, rootPaneCheckingEnabled, accessibleContext

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Constructor Summary
MessageDialog(Frame parent, String msg, int type)
           

Method Summary
 voidactionPerformed(ActionEvent e)
           
 (package private) voidcancel()
           
 private voidjbInit()
           
 protected voidprocessWindowEvent(WindowEvent e)
           

Methods inherited from class javax.swing.JDialog
dialogInit, createRootPane, processKeyEvent, setDefaultCloseOperation, getDefaultCloseOperation, update, setJMenuBar, getJMenuBar, isRootPaneCheckingEnabled, setRootPaneCheckingEnabled, addImpl, remove, setLayout, getRootPane, setRootPane, getContentPane, setContentPane, getLayeredPane, setLayeredPane, getGlassPane, setGlassPane, setLocationRelativeTo, paramString, getAccessibleContext

Methods inherited from class java.awt.Dialog
addNotify, isModal, setModal, getTitle, setTitle, show, hide, dispose, isResizable, setResizable

Methods inherited from class java.awt.Window
finalize, pack, toFront, toBack, getToolkit, getWarningString, getLocale, getInputContext, setCursor, getOwner, getOwnedWindows, addWindowListener, removeWindowListener, getListeners, processEvent, getFocusOwner, postEvent, isShowing, applyResourceBundle, applyResourceBundle, getGraphicsConfiguration

Methods inherited from class java.awt.Container
getComponentCount, countComponents, getComponent, getComponents, getInsets, insets, add, add, add, add, add, remove, removeAll, getLayout, doLayout, layout, invalidate, validate, validateTree, setFont, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, paint, print, paintComponents, printComponents, addContainerListener, removeContainerListener, processContainerEvent, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, removeNotify, isAncestorOf, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getTreeLock, isValid, isDisplayable, isVisible, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, getForeground, setForeground, getBackground, setBackground, getFont, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getGraphics, getFontMetrics, getCursor, paintAll, repaint, repaint, repaint, repaint, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, dispatchEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, enableEvents, disableEvents, coalesceEvents, processComponentEvent, processFocusEvent, processMouseEvent, processMouseMotionEvent, processInputMethodEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, remove, toString, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait

Field Detail

borderLayout1

private BorderLayout borderLayout1

borderLayout2

private BorderLayout borderLayout2

button1

private JButton button1

ERROR_DIALOG

public final static int ERROR_DIALOG

errorLbl

private JLabel errorLbl

flowLayout1

private FlowLayout flowLayout1

gridLayout1

private GridLayout gridLayout1

image1

private ImageIcon image1

imageLabel

private JLabel imageLabel

insetsPanel1

private JPanel insetsPanel1

insetsPanel2

private JPanel insetsPanel2

insetsPanel3

private JPanel insetsPanel3

label2

private JLabel label2

message

private String message

MESSAGE_DIALOG

public final static int MESSAGE_DIALOG

MSG_TYPE

private int MSG_TYPE

panel1

private JPanel panel1

panel2

private JPanel panel2
Constructor Detail

MessageDialog

public MessageDialog(Frame parent, String msg, int type)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

cancel

void cancel()

jbInit

private void jbInit()
throws java.lang.Exception

processWindowEvent

protected void processWindowEvent(WindowEvent e)