From 9ebcf76aa65b96c4746554575f7532d07adf4984 Mon Sep 17 00:00:00 2001 From: besson Date: Wed, 11 Jan 2023 13:53:45 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'src/JsonInspector/?= =?UTF-8?q?MyJLabel.java'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/JsonInspector/MyJLabel.java | 34 +++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/src/JsonInspector/MyJLabel.java b/src/JsonInspector/MyJLabel.java index b534238..d8f0f28 100644 --- a/src/JsonInspector/MyJLabel.java +++ b/src/JsonInspector/MyJLabel.java @@ -1,16 +1,18 @@ -import javax.swing.*; -import java.awt.*; - -public class MyJLabel extends JLabel { - public MyJLabel(String text, Color color) { - super(text); - this.setFont(Parameters.FILE_FONT); - this.setForeground(color); - } - - public MyJLabel(String text) { - super(text); - this.setFont(Parameters.FILE_FONT); - this.setForeground(Parameters.DEFAULT_TEXT_COLOR); - } -} +package JsonInspector; + +import javax.swing.*; +import java.awt.*; + +public class MyJLabel extends JLabel { + public MyJLabel(String text, Color color) { + super(text); + this.setFont(Parameters.FILE_FONT); + this.setForeground(color); + } + + public MyJLabel(String text) { + super(text); + this.setFont(Parameters.FILE_FONT); + this.setForeground(Parameters.DEFAULT_TEXT_COLOR); + } +}