JAL-3608: Set choice of Look and Feel via system property
|Participant||Role||Time Spent||Comments||Latest Comment|
|Author||57m||5||Resolutions to this review are in task/JAL-3608_property...|
|Reviewer - Complete||23m||8 (1 defect)||Will we need isNoJSLinux I wonder?|
|Total||1h 20m||13 (1 defect)|
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).
Branches in review
Issues Raised From Comments