diff --git a/src/JsonInspector/Parameters.java b/src/JsonInspector/Parameters.java index 34ec8a8..786e7a1 100644 --- a/src/JsonInspector/Parameters.java +++ b/src/JsonInspector/Parameters.java @@ -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); } diff --git a/src/JsonInspector/Tree.java b/src/JsonInspector/Tree.java index 47d7003..690ff34 100644 --- a/src/JsonInspector/Tree.java +++ b/src/JsonInspector/Tree.java @@ -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();