Transférer les fichiers vers 'src/JsonInspector'

This commit is contained in:
2023-01-11 12:11:37 +01:00
parent 4364529fda
commit 64b6400252
5 changed files with 333 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
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);
}
}