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

Swing gui gets tweaked out the "Smooth edges of screen fonts" effect is disabled

    XMLWordPrintable

Details

    Description

      FULL PRODUCT VERSION :
      This is reproducable on any java 6 version. The problem does not exist in java 5

      java -version
      java version "1.6.0_06"
      Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
      Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)



      ADDITIONAL OS VERSION INFORMATION :
      Windows XP Service Pack 2, Windows Vista Home Premium

      A DESCRIPTION OF THE PROBLEM :
      Disable the windows "Smooth edges of screen fonts" effect from windows by right clicking on desktop, select appearance, then effects. Then uncheck the box titled "Use the following method to smooth edges of screen font "

      Then run any swing app. You will notice the gui looks all weird. It has a particularly negative affect on tables. Table columns have weird boxes around them, it screws up the borders in cell editors, jbuttons with icons and text look weird, and various other issues are visible.

      This problem came to my attention as a webex user. Webex disables this affect because it has a performance impact. Whenever I run webex with my swing app it looks horrible.

      see bug id #6512116

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Disable the windows "Smooth edges of screen fonts" effect from windows by right clicking on desktop, select appearance, then effects. Then uncheck the box titled "Use the following method to smooth edges of screen font "

      Then run any swing app. You will notice the gui looks all weird. It has a particularly negative affect on tables. Table columns have weird boxes around them, it screws up the borders in cell editors, jbuttons with icons and text look weird, and various other issues are visible.

      This problem came to my attention as a webex user. Webex disables this affect because it has a performance impact. Whenever I run webex with my swing app it looks horrible.

      see bug id #6512116


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      The only workaround I have found is to use java 1.5

      Release Regression From : 5
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

      Attachments

        Activity

          People

            peterz Peter Zhelezniakov
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: