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

Swing rendering is blurred & ugly if user changes increases Windows elements size

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      9
    • CPU:
      x86
    • OS:
      other

      Description

      FULL PRODUCT VERSION :
      java version "9.0.1"
      Java(TM) SE Runtime Environment (build 9.0.1+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [version 6.3.9600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Intel HD Graphics 4600
      1290 * 1080 screen resolution.

      A DESCRIPTION OF THE PROBLEM :
      All Swing Windows of all applications (NetBeans, etc.) appear blurred & very "ugly" if user
      increases Windows Screen Resolution Options.

      (Configuration Panel==> All Configuration Panels ==> Display ==> Change the size of all items)

      There a 3 options :
      - Small (100%)
      - Medium 125 % (default)
      - Big 150%

      If user selects Medium or Big radio button, all Swing Windows appear blurred & very "ugly" .



      REGRESSION. Last worked in version 8u162

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Configuration Panel==> All Configuration Panels ==> Display ==> Change the size of all items

      There a 3 options :

      - Small (100%)
      - Medium 125 % (default)
      - Big 150%

      Choose Medium or Big..

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      To have nice & clean Swing rendeding as with Java 8 and prior version.
      ACTUAL -
      Ugly and blurred Swing windows.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javax.swing.JOptionPane;

      public class Test {

          public static void main(String args[]) {
              JOptionPane.showMessageDialog(null, "Swing apps are blurred & ugly if user "
                      + "changes Windows elements size to 125% or more.");
          }
      }
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      No workaround.

      I have to set back elements size to 100%

        Attachments

        1. 10_100.PNG
          10_100.PNG
          13 kB
        2. 10_125.PNG
          10_125.PNG
          14 kB
        3. 8u152_100.PNG
          8u152_100.PNG
          11 kB
        4. 8u152_125.PNG
          8u152_125.PNG
          17 kB
        5. Test.java
          0.3 kB

          Issue Links

            Activity

              People

              • Assignee:
                pbansal Pankaj Bansal
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: