Ptah
Class PtahFrame_AboutBox

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--Ptah.PtahFrame_AboutBox

public class PtahFrame_AboutBox
extends javax.swing.JDialog
implements java.awt.event.ActionListener

Ptah About dialog.

Copyright (c) 2000-2001 Alexis Grandemange

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; version 2
 of the License.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 

I included a copy of the GNU Lesser General Public License lesser.txt in this directory.

alexis.grandemange@pagebox.net

Version:
0, 0, 1
Author:
Alexis Grandemange
See Also:
Serialized Form

Inner classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AWTTreeLock
 
Field Summary
(package private)  java.lang.String author
           
(package private)  java.awt.BorderLayout borderLayout1
           
(package private)  java.awt.BorderLayout borderLayout2
           
(package private)  javax.swing.BoxLayout boxLayout1
           
(package private)  javax.swing.JButton button1
           
(package private)  java.lang.String comments
           
(package private)  java.lang.String copyright
           
(package private)  java.awt.FlowLayout flowLayout1
           
(package private)  java.awt.FlowLayout flowLayout2
           
(package private)  java.net.URL iconURL
           
(package private)  javax.swing.JLabel imageControl1
           
(package private)  javax.swing.ImageIcon imageIcon
           
(package private)  javax.swing.JPanel insetsPanel1
           
(package private)  javax.swing.JPanel insetsPanel2
           
(package private)  javax.swing.JPanel insetsPanel3
           
(package private)  javax.swing.JLabel label1
           
(package private)  javax.swing.JLabel label2
           
(package private)  javax.swing.JLabel label3
           
(package private)  javax.swing.JLabel label4
           
(package private)  javax.swing.JLabel label5
           
(package private)  javax.swing.JPanel panel1
           
(package private)  javax.swing.JPanel panel2
           
(package private)  java.lang.String product
           
(package private)  java.lang.String version
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, defaultCloseOperation, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
base, modal, nameCounter, resizable, serialVersionUID, title
 
Fields inherited from class java.awt.Window
active, base, focusMgr, inputContext, nameCounter, OPENED, ownedWindowList, serialVersionUID, state, warningString, weakThis, windowListener, windowSerializedDataVersion
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, maxSize, ncomponents, serialVersionUID
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, assert, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, hasFocus, height, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, RIGHT_ALIGNMENT, serialVersionUID, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowListenerK, x, y
 
Constructor Summary
PtahFrame_AboutBox(java.awt.Frame parent)
          Constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Called when the user clicks on the OK button.
(package private)  void cancel()
          Remove the dialog
private  void myInit()
          Set graphical components
protected  void processWindowEvent(java.awt.event.WindowEvent e)
          Called when the user closes the window.
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, createRootPaneException, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
, addNotify, constructComponentName, getTitle, initIDs, isModal, isResizable, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addOwnedWindow, addWindowListener, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, dispose, eventEnabled, finalize, getFocusOwner, getInputContext, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postProcessKeyEvent, postWindowEvent, preProcessKeyEvent, processEvent, readObject, removeOwnedWindow, removeWindowListener, setFocusOwner, setWarningString, toBack, toFront, transferFocus, writeObject
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyOrientation, countComponents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPrint, list, list, locate, minimumSize, paint, paintComponents, postsOldMouseEvents, preferredSize, print, printComponents, printOneComponent, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

panel1

javax.swing.JPanel panel1

panel2

javax.swing.JPanel panel2

insetsPanel1

javax.swing.JPanel insetsPanel1

insetsPanel2

javax.swing.JPanel insetsPanel2

insetsPanel3

javax.swing.JPanel insetsPanel3

button1

javax.swing.JButton button1

iconURL

java.net.URL iconURL

imageIcon

javax.swing.ImageIcon imageIcon

imageControl1

javax.swing.JLabel imageControl1

label1

javax.swing.JLabel label1

label2

javax.swing.JLabel label2

label3

javax.swing.JLabel label3

label4

javax.swing.JLabel label4

label5

javax.swing.JLabel label5

borderLayout1

java.awt.BorderLayout borderLayout1

borderLayout2

java.awt.BorderLayout borderLayout2

flowLayout1

java.awt.FlowLayout flowLayout1

flowLayout2

java.awt.FlowLayout flowLayout2

boxLayout1

javax.swing.BoxLayout boxLayout1

product

java.lang.String product

version

java.lang.String version

author

java.lang.String author

copyright

java.lang.String copyright

comments

java.lang.String comments
Constructor Detail

PtahFrame_AboutBox

public PtahFrame_AboutBox(java.awt.Frame parent)
Constructor. Calls myInit.
Method Detail

myInit

private void myInit()
             throws java.lang.Exception
Set graphical components

processWindowEvent

protected void processWindowEvent(java.awt.event.WindowEvent e)
Called when the user closes the window. Calls cancel.
Overrides:
processWindowEvent in class javax.swing.JDialog

cancel

void cancel()
Remove the dialog

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Called when the user clicks on the OK button. Calls cancel.
Specified by:
actionPerformed in interface java.awt.event.ActionListener