Class TextViewer

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

public class TextViewer extends JDialog
Window for displaying text.
See Also:
  • Constructor Details

    • TextViewer

      public TextViewer()
      Constructs a new window to display text.
    • TextViewer

      public TextViewer(Frame owner)
      Constructs a new window to display text.
      Parameters:
      owner - the parent frame
  • Method Details

    • setText

      public void setText(String text)
      Sets the text to display in this window.
      Parameters:
      text - the text