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

Linux: No dialog pops up with PrinterJob.pageDialog() and PrinterJob.printDialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • client-libs
    • 2d
    • beta2
    • x86
    • linux
    • Verified

        Originally, PrinterJob.pageDialog() method and PrinterJob.printDialog() method
        provide a dialog for printing, but these dialogs do not come up on Linux.

        Reproduction:

        1. Extract the attachment.

        2. Compile PrintDialogTest.java

        2. Run PrintDialogTest.class

           % java -showversion PrintDialogTest
           java version "1.4.0-beta"
           Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b62)
           Java HotSpot(TM) Client VM (build 1.4.0-beta-b62, mixed mode)

           PrinterJob.pageDialog()
           PrinterJob.printDialog()
           Toolkit.getPrintJob()
           %

        On Solaris, the page setting dialog comes up when display "PrinterJob.pageDialog()"
        string above on the terminal during the test program is running. Then the printing
        dialog comes up when display "PrinterJob.printDialog()" string above on the terminal.

        kenichi.kurosaki@Japan 2001-05-10

              jgodinez Jennifer Godinez (Inactive)
              kurosaki Kenichi Kurosaki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: