Ajout fenetre
This commit is contained in:
12
DEV.3.2/TP/TP3-Listes/1.Luminance/Fenetre.java
Normal file
12
DEV.3.2/TP/TP3-Listes/1.Luminance/Fenetre.java
Normal file
@@ -0,0 +1,12 @@
|
||||
import java.awt.*;
|
||||
import javax.swing.*;
|
||||
|
||||
public class Fenetre extends JFrame {
|
||||
|
||||
public Fenetre() {
|
||||
super("Luminance");
|
||||
this.setSize(300, 100);
|
||||
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
this.setLocationRelativeTo(null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user