Mise à jour de 'src/JsonInspector/MyJLabel.java'
This commit is contained in:
parent
a9ec8cc4f8
commit
9ebcf76aa6
@ -1,16 +1,18 @@
|
|||||||
import javax.swing.*;
|
package JsonInspector;
|
||||||
import java.awt.*;
|
|
||||||
|
import javax.swing.*;
|
||||||
public class MyJLabel extends JLabel {
|
import java.awt.*;
|
||||||
public MyJLabel(String text, Color color) {
|
|
||||||
super(text);
|
public class MyJLabel extends JLabel {
|
||||||
this.setFont(Parameters.FILE_FONT);
|
public MyJLabel(String text, Color color) {
|
||||||
this.setForeground(color);
|
super(text);
|
||||||
}
|
this.setFont(Parameters.FILE_FONT);
|
||||||
|
this.setForeground(color);
|
||||||
public MyJLabel(String text) {
|
}
|
||||||
super(text);
|
|
||||||
this.setFont(Parameters.FILE_FONT);
|
public MyJLabel(String text) {
|
||||||
this.setForeground(Parameters.DEFAULT_TEXT_COLOR);
|
super(text);
|
||||||
}
|
this.setFont(Parameters.FILE_FONT);
|
||||||
}
|
this.setForeground(Parameters.DEFAULT_TEXT_COLOR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user