Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3608

Set choice of Look and Feel via system property

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.1
    • Fix Version/s: 2.11.1.1, 2.11.2
    • Component/s: gui
    • Labels:
      None
    • Sprint:
      2.11.1.1 Release

      Description

      Jalview desktop currently chooses the SystemLookAndFeel by default, and if you're on a mac it tries to set the Look and Feel to Quaqua, failing that Vaqua (and failing that it remains SystemLookAndFeel).
      This has caused at least one test (jalview.gui.AlignmentPanelTest.testCalculateIdWidth_withMaxWidth) to consistently work on a mac desktop but consistently fail on the build server clover tests.

      We could allow an option for Jalview to choose the CrossPlatformLookAndFeel (also known as Metal) which should work the same, um, cross platform. This is the Look And Feel being used on the build server (it is the usual Linux SystemLookAndFeel), so will allow more accurate testing on a mac or in windows (or a GtkLookAndFeel default-enabled linux desktop).

        Attachments

        1. GTK.png
          GTK.png
          146 kB
        2. Metal.png
          Metal.png
          134 kB
        3. Nimbus.png
          Nimbus.png
          140 kB

          Issue Links

            Activity

              People

              Assignee:
              soares Ben Soares
              Reporter:
              soares Ben Soares
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: