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

kestrel Fcs "G":Toolkit.getPrintJob causes Error

XMLWordPrintable

    • x86
    • windows_nt


      Kestrel Fcs "G" Toolkit.getPrintJob causes Error.


      Please compile this program and excute.
      ===================================================

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

      public class PrintDialogTest {

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

      void run(PrintStream out) {
      PageFormat pf = new PageFormat();
      JFrame frame = new JFrame();
      JPanel p = new JPanel();
      out.println("Toolkit.getPrintJob()");
      p.getToolkit().getPrintJob(frame, "", null);
      }


      }

      ===================================================

      Here is a list of result.

      Windows95 Japanese *1
      Windows95 English *1

      Windows98 Japanese *1

      Windows NT4 SP4 pass
      Workstation Japanese

      Windows NT4 SP3 pass
      Workstation English

      WIndows2000 Beta3 *2
      Professional Japanese

      WIndows2000 Beta3 *2
      Professional English


      *1:---In the case of hotspot
          Error message displayed after pushed "print" button of Print Dialog.
          Error message displayed is
          " # HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
            # Error ID: 4F533F57494E13120E43505002B7".
          It means "os_win32.cpp, 695".
          
          ---In the case of classic
          Application error dialog occurs and says as below,
          "This program has performed an ilegal operation and will be shutdown.
           If the problem persists,contract the program vender"


      *2:In the case of hotspot and classic
          "Print Dialog" isn't displayed, and "Error message" isn't displayed, either.

            dmendenhsunw David Mendenhall (Inactive)
            eishidasunw Etsuko Ishida (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: