Transférer les fichiers vers 'src/JsonInspector'

This commit is contained in:
Romain BESSON 2023-01-14 16:38:51 +01:00
parent 700a9511b4
commit 5d7d48d368
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ public class Parameters {
public static final Color OTHER_COLOR = new Color(7, 103, 183);
public static final Color STRING_COLOR = new Color(203, 109, 80);
public static final Color NUMBER_COLOR = new Color(133, 192, 95);
public static final Color MOUSE_OVER_COLOR = new Color(60, 60, 60);
public static final Color DEFAULT_TEXT_COLOR = new Color(220, 220, 220);
public static final Color BACKGROUND_COLOR = new Color(45, 45, 45);
}

View File

@ -81,7 +81,7 @@ public class Tree {
indentation += Parameters.CONSOLE_INDENTATION;
}
if (!node.getName().equals("")) {
if (node.getType() != Type.ELEMENT) {
line += indentation + "\"" + node.getName() + "\"";
} else {
line += indentation + node.getName();