Class AboutDialog
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JPanel
-
- net.adoptopenjdk.icedteaweb.client.parts.about.AboutDialog
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.awt.image.ImageObserver,java.awt.MenuContainer,java.io.Serializable,java.lang.Runnable,java.util.EventListener,javax.accessibility.Accessible
public final class AboutDialog extends javax.swing.JPanel implements java.lang.Runnable, java.awt.event.ActionListener- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAboutDialog.ShowPage-
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
-
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.Stringabout_url_stubprivate javax.swing.JButtonaboutButtonprivate static HTMLPanelaboutPanelprivate java.lang.Stringappprivate static java.lang.Stringauthors_urlprivate javax.swing.JButtonauthorsButtonprivate static HTMLPanelauthorsPanelprivate static java.lang.Stringchangelog_urlprivate javax.swing.JButtonchangelogButtonprivate static HTMLPanelchangelogPanelprivate javax.swing.JPanelcontentPaneprivate static java.lang.Stringcopying_urlprivate javax.swing.JButtoncopyingButtonprivate static HTMLPanelcopyingPanelprivate javax.swing.JDialogframeprivate javax.swing.JButtonhelpButtonprivate static HTMLPanelhelpPanelprivate static LoggerLOGprivate static java.lang.Stringnews_urlprivate javax.swing.JButtonnewsButtonprivate static HTMLPanelnewsPanelprivate java.net.URLres_authorsprivate java.net.URLres_changelogprivate java.net.URLres_copyingprivate java.net.URLres_news-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAboutDialog(boolean modal, java.lang.String app, AboutDialog.ShowPage showPage)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)static voiddisplay(boolean modal, java.lang.String app)static voiddisplay(boolean modal, java.lang.String app, AboutDialog.ShowPage showPage)static voiddisplay(java.lang.String app)private voidlayoutWindow()voidrun()-
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
-
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
LOG
private static final Logger LOG
-
about_url_stub
private static final java.lang.String about_url_stub
- See Also:
- Constant Field Values
-
authors_url
private static final java.lang.String authors_url
- See Also:
- Constant Field Values
-
changelog_url
private static final java.lang.String changelog_url
- See Also:
- Constant Field Values
-
copying_url
private static final java.lang.String copying_url
- See Also:
- Constant Field Values
-
news_url
private static final java.lang.String news_url
- See Also:
- Constant Field Values
-
app
private final java.lang.String app
-
frame
private final javax.swing.JDialog frame
-
contentPane
private javax.swing.JPanel contentPane
-
aboutPanel
private static HTMLPanel aboutPanel
-
authorsPanel
private static HTMLPanel authorsPanel
-
newsPanel
private static HTMLPanel newsPanel
-
changelogPanel
private static HTMLPanel changelogPanel
-
copyingPanel
private static HTMLPanel copyingPanel
-
helpPanel
private static HTMLPanel helpPanel
-
aboutButton
private final javax.swing.JButton aboutButton
-
authorsButton
private final javax.swing.JButton authorsButton
-
newsButton
private final javax.swing.JButton newsButton
-
changelogButton
private final javax.swing.JButton changelogButton
-
copyingButton
private final javax.swing.JButton copyingButton
-
helpButton
private final javax.swing.JButton helpButton
-
res_authors
private final java.net.URL res_authors
-
res_news
private final java.net.URL res_news
-
res_changelog
private final java.net.URL res_changelog
-
res_copying
private final java.net.URL res_copying
-
-
Constructor Detail
-
AboutDialog
private AboutDialog(boolean modal, java.lang.String app, AboutDialog.ShowPage showPage)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
layoutWindow
private void layoutWindow()
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
display
public static void display(java.lang.String app)
-
display
public static void display(boolean modal, java.lang.String app)
-
display
public static void display(boolean modal, java.lang.String app, AboutDialog.ShowPage showPage)
-
-