diff --git a/src/JsonInspector/Line.java b/src/JsonInspector/Line.java index a226177..abf5886 100644 --- a/src/JsonInspector/Line.java +++ b/src/JsonInspector/Line.java @@ -1,31 +1,33 @@ -import java.awt.*; - -public class Line extends MyJPanel { - //Le nœud qui est représenté par cette objet Line - private Node node; - - public Line(Node node) { - super(); - this.node = node; - } - - public Line(Node node, String str) { - super(); - this.add(new MyJLabel(str)); - this.node = node; - } - - public Line(Node node, String str, Color color) { - super(); - this.add(new MyJLabel(str, color)); - this.node = node; - } - - public void add(String string) { - this.add(new MyJLabel(string)); - } - - public void add(String string, Color color) { - this.add(new MyJLabel(string, color)); - } -} +package JsonInspector; + +import java.awt.*; + +public class Line extends MyJPanel { + //Le nœud qui est représenté par cette objet Line + private Node node; + + public Line(Node node) { + super(); + this.node = node; + } + + public Line(Node node, String str) { + super(); + this.add(new MyJLabel(str)); + this.node = node; + } + + public Line(Node node, String str, Color color) { + super(); + this.add(new MyJLabel(str, color)); + this.node = node; + } + + public void add(String string) { + this.add(new MyJLabel(string)); + } + + public void add(String string, Color color) { + this.add(new MyJLabel(string, color)); + } +}