Class TextBlockDemo

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

public class TextBlockDemo extends ApplicationFrame
A demo of the TextBlock class.
See Also:
  • Constructor Details

    • TextBlockDemo

      public TextBlockDemo(String title)
      Creates a new demo instance.
      Parameters:
      title - the frame title.
  • Method Details

    • createContentPane

      private JPanel createContentPane()
      Creates the content pane for the demo frame.
      Returns:
      The content pane.
    • main

      public static void main(String[] args)
      The starting point for the demo.
      Parameters:
      args - ignored.