com.gsoft.titration.client
Class CommentDialog

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

public class CommentDialog
extends JDialog
implements ActionListener


Field Summary
 private BorderLayoutborderLayout1
           
 private BorderLayoutborderLayout2
           
 private BorderLayoutborderLayout3
           
 private BorderLayoutborderLayout4
           
 private JButtonbutton1
           
 private FlowLayoutflowLayout1
           
 private FlowLayoutflowLayout2
           
 private GridLayoutgridLayout1
           
 private ImageIconimage1
           
 private JLabelimageLabel
           
 private JPanelinsetsPanel1
           
 private JPanelinsetsPanel2
           
 private JPanelinsetsPanel3
           
 private JLabeljLabel2
           
 private JLabeljlPostDate
           
 private JLabeljlPostedBy
           
 private JPaneljPanel1
           
 private JPaneljpComment
           
 private JScrollPanejScrollPane1
           
 private JTextAreajtComment
           
 private JLabellabel1
           
 private JLabellabel3
           
 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
CommentDialog(Frame parent, CommentItem ci)
           

Method Summary
 voidactionPerformed(ActionEvent actionEvent)
          Close the dialog on a button event.
 private voidjbInit()
          Component initialization.

Methods inherited from class javax.swing.JDialog
dialogInit, createRootPane, processKeyEvent, processWindowEvent, 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

borderLayout3

private BorderLayout borderLayout3

borderLayout4

private BorderLayout borderLayout4

button1

private JButton button1

flowLayout1

private FlowLayout flowLayout1

flowLayout2

private FlowLayout flowLayout2

gridLayout1

private GridLayout gridLayout1

image1

private ImageIcon image1

imageLabel

private JLabel imageLabel

insetsPanel1

private JPanel insetsPanel1

insetsPanel2

private JPanel insetsPanel2

insetsPanel3

private JPanel insetsPanel3

jLabel2

private JLabel jLabel2

jlPostDate

private JLabel jlPostDate

jlPostedBy

private JLabel jlPostedBy

jPanel1

private JPanel jPanel1

jpComment

private JPanel jpComment

jScrollPane1

private JScrollPane jScrollPane1

jtComment

private JTextArea jtComment

label1

private JLabel label1

label3

private JLabel label3

panel1

private JPanel panel1

panel2

private JPanel panel2
Constructor Detail

CommentDialog

public CommentDialog(Frame parent, CommentItem ci)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent actionEvent)
Close the dialog on a button event.
Parameters:
actionEvent ActionEvent

jbInit

private void jbInit()
throws java.lang.Exception
Component initialization.
Throws:
java.lang.Exception