Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6468

Windows LAF does not work properly on Windows 11 with Java 17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.6
    • None
    • Windows 11 and Java 17, when running NetBeans with the Windows LAF.

    Description

      Various NetBeans LAF-related code reverts to an older look if the "os.name" system property does not contain the string "Windows 10". With Java 17, the "os.name" property may now return "Windows 11", leading to odd-looking UI tab components on NetBeans when running on the Windows LAF.

      I'll submit a PR to fix this.

      Attachments

        1. 220219 LAF Detection Problem.png
          142 kB
          Eirik Bakke

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ebakke Eirik Bakke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m