Class TextDisplayDialog

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class TextDisplayDialog extends SimpleDialog
A non-modal, read-only dialog for displaying monospaced text.
See Also:
  • Constructor Details

    • TextDisplayDialog

      public TextDisplayDialog(String title)
  • Method Details

    • setText

      public void setText(String text)
    • createCenterComponent

      protected Component createCenterComponent()
      Description copied from class: SimpleDialog
      Override to create the component that goes in the center. Usually this is the "main" component.
      Overrides:
      createCenterComponent in class SimpleDialog
      Returns:
      the component that is placed in the center
    • getTextArea

      public JTextArea getTextArea()