diff --git a/model-command/src/main/java/lcsb/mapviewer/commands/ColorModelCommand.java b/model-command/src/main/java/lcsb/mapviewer/commands/ColorModelCommand.java index 136bffd3d332ce19a6a4403b29e24ceb7a3c726d..a1abde131258924c48b57eb2c2fa558c6d1e4913 100644 --- a/model-command/src/main/java/lcsb/mapviewer/commands/ColorModelCommand.java +++ b/model-command/src/main/java/lcsb/mapviewer/commands/ColorModelCommand.java @@ -34,7 +34,6 @@ public class ColorModelCommand extends ModelCommand { /** * Default class logger. */ - @SuppressWarnings("unused") private Logger logger = LogManager.getLogger(ColorModelCommand.class); /** @@ -162,6 +161,7 @@ public class ColorModelCommand extends ModelCommand { throw new InvalidColorSchemaException("At least two rows try to set color to element: " + element.getName()); } element.setFillColor(colorExtractor.getNormalizedColor(schema)); + element.setBorderColor(Color.BLACK); } } @@ -338,6 +338,7 @@ public class ColorModelCommand extends ModelCommand { private void colorModel(Model result, boolean top) throws InvalidColorSchemaException { for (Element element : result.getElements()) { + element.setBorderColor(Color.BLACK); element.setFillColor(Color.WHITE); element.setGlyph(null); }