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

WEmbeddedFrame.print is unimplemented

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0_01
    • 1.4.0, 1.4.1
    • deploy
    • 01
    • x86, sparc
    • solaris_8, windows_nt

        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: