Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4251821

Java 2D tutorial printing problem.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.2.2
    • client-libs
    • None
    • 2d
    • generic
    • generic

      The tutorial for Java2D contains a description of how to write code using the
      Printable interface:

      http://java.sun.com/docs/books/tutorial/2d/printing/component.html

      beginning with an example ShapesPrint. The source code for the example is at:

      http://java.sun.com/docs/books/tutorial/2d/printing/example-1dot2/ShapesPrint.java

      The example uses Java 2 APIs to print Java 1.1 AWT objects. This is not
      working. The example should be changed.

      Originally, this bug was reported against category=java, subcategory=classes_2D.
      It has been changed to an RFE. Until Java (3?) is changed to allow Java2D
      Printables to print Java 1.1 AWT objects, the tutorial will be in error. The
      classes_2D RFE has BugID 4184099.

      allan.jacobs@Eng 1999-07-06

            prr Philip Race
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: