Class Snippet7


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

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

      Constructors 
      Constructor Description
      Snippet7()  
    • 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

      • Snippet7

        public Snippet7()
    • Method Detail

      • createPrint

        public static Print createPrint()
      • main

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