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

pageDialog() and printDialog() do not function on win32

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_95, windows_98, windows_nt

      Description

      PrinterJob.pageDialog() and PrinterJob.printDialog() methods
      do not function and do nothing on win32, but okay on solaris.
      Also this problem does not occur in FCS build "F".

      You can reproduce this situation to run the following test
      case.

      import java.io.*;
      import java.awt.print.*;

      public class PDTest {

          public static void main(String[] args) {
              new PDTest().run(System.out);
              System.exit(0);
          }

          void run(PrintStream out) {
              PageFormat pf = new PageFormat();
              out.println("PrinterJob.pageDialog()");
              PrinterJob.getPrinterJob().pageDialog(pf);
              out.println("PrinterJob.printDialog()");
              PrinterJob.getPrinterJob().printDialog();
          }
      }

      kenichi.kurosaki@Japan 1999-09-22

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dmendenhsunw David Mendenhall (Inactive)
                Reporter:
                kurosaki Kenichi Kurosaki (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: