Class JEditorPaneBasedExceptionDialog

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
net.adoptopenjdk.icedteaweb.client.parts.splashscreen.parts.JEditorPaneBasedExceptionDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, HyperlinkListener, RootPaneContainer, WindowConstants

public class JEditorPaneBasedExceptionDialog extends JDialog implements HyperlinkListener
See Also:
  • Field Details

    • LOG

      private static final Logger LOG
    • closeButton

      private JButton closeButton
    • closeAndCopyButton

      private JButton closeAndCopyButton
    • homeButton

      private JButton homeButton
    • aboutButton

      private JButton aboutButton
    • consoleButton

      private JButton consoleButton
    • cacheButton

      private JButton cacheButton
    • htmlErrorAndHelpPanel

      private JEditorPane htmlErrorAndHelpPanel
    • exceptionLabel

      private JLabel exceptionLabel
    • iconLabel

      private JLabel iconLabel
    • mainPanel

      private JPanel mainPanel
    • topPanel

      private JPanel topPanel
    • bottomPanel

      private JPanel bottomPanel
    • htmlPaneScroller

      private JScrollPane htmlPaneScroller
    • message

      private final String message
    • exception

      private final Throwable exception
    • shown

      final Date shown
    • anotherInfo

      private final String anotherInfo
  • Constructor Details

    • JEditorPaneBasedExceptionDialog

      public JEditorPaneBasedExceptionDialog(Frame parent, boolean modal, Throwable ex, InformationElement information, String anotherInfo)
      Creates new form JEditorPaneBasedExceptionDialog
  • Method Details

    • infoElementToList

      static List<String> infoElementToList(InformationElement information)
    • initComponents

      private void initComponents()
    • copyAndCloseButtonActionPerformed

      private void copyAndCloseButtonActionPerformed(ActionEvent evt)
    • homeButtonActionPerformed

      private void homeButtonActionPerformed(ActionEvent evt)
    • closeWindowButtonActionPerformed

      private void closeWindowButtonActionPerformed(ActionEvent evt)
    • main

      public static void main(String[] args)
      Parameters:
      args - the command line arguments
    • getText

      static String getText(Throwable ex, List<String> l, String anotherInfo, Date shown)
    • getExceptionStackTraceAsString

      public static String getExceptionStackTraceAsString(Throwable exception)
    • getExceptionStackTraceAsStrings

      public static String[] getExceptionStackTraceAsStrings(Throwable exception)
    • hyperlinkUpdate

      public void hyperlinkUpdate(HyperlinkEvent event)
      Specified by:
      hyperlinkUpdate in interface HyperlinkListener
    • close

      private void close()
    • formatListInfoList

      static String formatListInfoList(List<String> l)
    • formatInfo

      static String formatInfo(String l)
    • getException

      Throwable getException()
    • getMessage

      String getMessage()
    • createLink

      private static String createLink()
    • addChain

      private static String addChain()
    • addPlainChain

      private static String addPlainChain()
    • getChainAsString

      private static String getChainAsString(boolean formatTime)
    • getChainAsString

      private static String getChainAsString(List<LaunchException.LaunchExceptionWithStamp> launchExceptionChain, boolean formatTime)
    • formatTime

      private static String formatTime(Date dateTime, boolean formatTime)