Class ErrorPaneUI

Direct Known Subclasses:
BasicErrorPaneUI

public abstract class ErrorPaneUI extends PanelUI
The ComponentUI for a JXErrorPane.
Author:
rbair
  • Constructor Details

    • ErrorPaneUI

      public ErrorPaneUI()
  • Method Details

    • getErrorFrame

      public abstract JFrame getErrorFrame(Component owner)
      Creates new ErrorPane wrapped in the frame window centered at provided owner component.
      Parameters:
      owner - component to center created error frame at.
      Returns:
      New ErrorPane instance wrapped in JFrame.
    • getErrorDialog

      public abstract JDialog getErrorDialog(Component owner)
      Creates new ErrorPane wrapped in the dialog window centered at provided owner component.
      Parameters:
      owner - component to center created error dialog at.
      Returns:
      New ErrorPane instance wrapped in JDialog.
    • getErrorInternalFrame

      public abstract JInternalFrame getErrorInternalFrame(Component owner)
      Creates new ErrorPane wrapped in the internal frame window centered at provided owner component.
      Parameters:
      owner - component to center created error frame at.
      Returns:
      New ErrorPane instance wrapped in JInternalFrame.
    • calculatePreferredSize

      public abstract Dimension calculatePreferredSize()
      Calculates default prefered size for JXErrorPane on given platform/LAF.
      Returns:
      Preferred size.