Class JErrorPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ActionMap

public class JErrorPane extends JPanel implements ActionMap
This class represents a dialog to display an error (message + Exception).
See Also:
  • Field Details

    • RESOURCES

      protected static final String RESOURCES
      The resource file name
      See Also:
    • bundle

      protected static ResourceBundle bundle
      The resource bundle
    • resources

      protected static ResourceManager resources
      The resource manager
    • msg

      protected String msg
      The error message.
    • stacktrace

      protected String stacktrace
      The stack trace.
    • bf

      protected ButtonFactory bf
      The button factory.
    • detailsArea

      protected JComponent detailsArea
      The text area used to show the stack trace.
    • showDetailButton

      protected JButton showDetailButton
      The button used to show or not the details.
    • isDetailShown

      protected boolean isDetailShown
      This flag bit indicates whether or not the stack trace is shown.
    • subpanel

      protected JPanel subpanel
      The sub panel that contains the stack trace text area.
    • okButton

      protected JButton okButton
      The OK button.
    • listeners

      protected Map listeners
      The map that contains the listeners
  • Constructor Details

    • JErrorPane

      public JErrorPane(Throwable th, int type)
      Constructs a new JErrorPane.
      Parameters:
      th - the throwable object that describes the errror
      type - the dialog type
  • Method Details