Added Checkstyle to build process and fixing checkstyle to all com.src.jpexs classes

This commit is contained in:
Jindra Petřík
2023-10-16 09:36:06 +02:00
parent b6e8ca0d67
commit dc5e50813f
789 changed files with 23773 additions and 22843 deletions
@@ -64,7 +64,7 @@ public class HtmlLabel extends JEditorPane {
if (nightMode) {
linkColor = new Color(0x88, 0x88, 0xff);
}
String aRule = "a {color: " + String.format("#%02x%02x%02x", linkColor.getRed(), linkColor.getGreen(), linkColor.getBlue()) + "}";
((HTMLDocument) getDocument()).getStyleSheet().addRule(aRule);