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

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

XMLWordPrintable

    • 9
    • x86
    • other

      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%

        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. Metal_100.png
          Metal_100.png
          5 kB
        6. Metal_150.png
          Metal_150.png
          15 kB
        7. Metal_175.png
          Metal_175.png
          10 kB
        8. Motif_100.png
          Motif_100.png
          3 kB
        9. Motif_150.png
          Motif_150.png
          5 kB
        10. Motif_175.png
          Motif_175.png
          6 kB
        11. Nimbus_100.png
          Nimbus_100.png
          6 kB
        12. Nimbus_150.png
          Nimbus_150.png
          14 kB
        13. Nimbus_175.png
          Nimbus_175.png
          14 kB
        14. Test.java
          0.3 kB
        15. TestAllLookAndFeels.java
          0.6 kB
        16. Window_100.png
          Window_100.png
          6 kB
        17. Window_150.png
          Window_150.png
          11 kB
        18. Window_175.png
          Window_175.png
          13 kB

            prr Philip Race
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: