Class Snippet8


  • public class Snippet8
    extends java.lang.Object
    Demonstrate use of PrintPreview control.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  Snippet8.UI  
    • Constructor Summary

      Constructors 
      Constructor Description
      Snippet8()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Print createPrint()  
      static void main​(java.lang.String[] args)
      Executes the snippet.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Snippet8

        public Snippet8()
    • Method Detail

      • createPrint

        public static Print createPrint()
      • main

        public static void main​(java.lang.String[] args)
        Executes the snippet.
        Parameters:
        args - command-line args.