* Helper method that checks the JAMES II registry for look and feel plugins
* and loads them if available
*/
private synchronized void checkRegistry() {
// also load look and feels available through registry if registry is loaded
Registry registry = SimSystem.getRegistry();
if (registry != null && !registryChecked) {
try {
List<LookAndFeelFactory> factories =
registry.getFactories(LookAndFeelFactory.class);
if (factories == null) {
factories = new ArrayList<>();
}
for (LookAndFeelFactory f : factories) {