Class NoBreakPrintExample


  • public class NoBreakPrintExample
    extends java.lang.Object
    Prints "The quick brown fox jumps over the lazy dog." in increasingly large blocks, using a NoBreakPrint to prevent each block from being broken up across page or across columns.
    • Method Summary

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

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

      • NoBreakPrintExample

        public NoBreakPrintExample()
    • Method Detail

      • createPrint

        public static Print createPrint()
      • main

        public static void main​(java.lang.String[] args)
        Prints the NoBreakPrintExample to the default printer.
        Parameters:
        args - command-line args