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

WEmbeddedFrame.print is unimplemented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.4.0, 1.4.1
    • Fix Version/s: 1.4.0_01
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      01
    • CPU:
      x86, sparc
    • OS:
      solaris_8, windows_nt

      Backports

        Description

        When printing HTML page that contains applets running in Java Plug-in, exception is thrown in Java Console. The issue is that Java Plug-in will call WEmbeddedFrame.print() for printing the applets, but currently, this method is NOT implemented in Merlin. In sun/awt/windows/WEmbeddedFrame.java

            /*
             * Print the embedded frame and its children using the specified HDC.
             */
            void print(int hdc) {
        // REMIND...
        throw new InternalError("unimplemented");
        /*
                WPrintGraphics g = new WEmbeddedPrintGraphics(hdc);
                WPrintGraphicsWrapper gw = new WPrintGraphicsWrapper(g, null);
                printComponents(gw);
                gw.dispose();
        */
            }

        Printing is critical to customers, so it should be fixed before Merlin FCS. Notice that printing works in releases prior to Merlin.

        fixed. verify on winxp with java version "Java2D:08-Apr-02@04:09"
        selected testcase:
        http://sqesvr/deployment1/ws/tests/pluginPrinting/Kestrel_PluginPrint/Plugin_html/Imageable_Plugin.html

        ###@###.### 2002-04-09

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                busersunw Btplusnull User (Inactive)
                Reporter:
                stanleyh Stanley Ho (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: