Class FlamableJFrame

All Implemented Interfaces:
Flamable, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public abstract class FlamableJFrame
extends JFrame
implements Flamable
FlamableJFrame.
Author:
Lennart
See Also:
Serialized Form
  • Constructor Details

    • FlamableJFrame

      public FlamableJFrame()
      Wrapper constructor for that of the superclass.
      See Also:
      JFrame
    • FlamableJFrame

      public FlamableJFrame​(String aTitle)
      Wrapper constructor for that of the superclass.
      Parameters:
      aTitle - String with the title for the JFrame.
      See Also:
      JFrame
    • FlamableJFrame

      public FlamableJFrame​(GraphicsConfiguration aGCfg)
      Wrapper constructor for that of the superclass.
      Parameters:
      aGCfg - GraphicsConfiguration for the JFrame.
      See Also:
      JFrame
    • FlamableJFrame

      public FlamableJFrame​(GraphicsConfiguration aGCfg, String aTitle)
      Wrapper constructor for that of the superclass.
      Parameters:
      aGCfg - GraphicsConfiguration for the JFrame.
      aTitle - String with the title for the JFrame.
      See Also:
      JFrame
  • Method Details

    • passHotPotato

      public void passHotPotato​(Throwable aThrowable)
      This method will handle all errors thrown from child threads.
      Specified by:
      passHotPotato in interface Flamable
      Parameters:
      aThrowable - Throwable with the error that occurred.
    • passHotPotato

      public void passHotPotato​(Throwable aThrowable, String aMessage)
      This method takes care of any unrecoverable exception or error, thrown by a child thread.
      Specified by:
      passHotPotato in interface Flamable
      Parameters:
      aThrowable - Throwable that represents the unrecoverable error or exception.
      aMessage - String with an extra message to display (can be 'null').
    • isStandAlone

      public abstract boolean isStandAlone()
      Returns true if frame is stand alone.
      Returns:
      true if frame is stand alone