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

Non-usage of owner Frame when Frame object is passed to getPrintJob()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 7, 8, 9
    • client-libs
    • None
    • 2d
    • b135
    • generic
    • generic

      If we call
      Toolkit.getDefaultToolkit().getPrintJob(new Frame("myframe"), "test Printing", ja, null);
      it seems the frame does not become owner of the dialog for cross platform print dialog.
      ServiceUI.printDialog does not use this frame object but passes null as owner to ServiceDialog().

      For native print dialog, the issue is not there as the frame becomes owner of print dialog.

            psadhukhan Prasanta Sadhukhan
            psadhukhan Prasanta Sadhukhan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: