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

Java2D Print dialog: Can't read text after Status label in High Contrast mode

XMLWordPrintable

    • 2d
    • b53
    • x86
    • windows_2000

      FULL PRODUCT VERSION :
      Java 1.4.2 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
          (mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 2000

      A DESCRIPTION OF THE PROBLEM :
      In High Contrast mode on Windows 2000, the information the (new) print dialog that is displayed after the Status label is not visible.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Start menu -> Settings -> Control Panel -> Display
      Go to the Appearance Tab
      Select "High contrast #1" from the Scheme drop down menu
      Press the Apply button

      PrintDialog.showPrintDialog()

      Look on the General Tab. There is a label Status: All of the information after that is no longer visible. (I checked in another mode there is information there.)


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Need to be able to read all of the information following the Status label in High Contrast mode.
      ACTUAL -
      See above.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javax.print.DocFlavor;
      import javax.print.PrintService;
      import javax.print.PrintServiceLookup;
      import javax.print.ServiceUI;
      import javax.print.attribute.HashPrintRequestAttributeSet;

      public class PrintDialog{

          public static void showPrintDialog(){
              DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
              PrintService[] printService = // using pras above causes problems-- no printers returned
                      PrintServiceLookup.lookupPrintServices(flavor, new HashPrintRequestAttributeSet());
              ServiceUI.printDialog(null, 100, 100,
                      printService, PrintServiceLookup.lookupDefaultPrintService(), flavor, new HashPrintRequestAttributeSet());
          }
      }

      ---------- END SOURCE ----------
      ###@###.### 10/21/04 17:14 GMT

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: