update
This commit is contained in:
16
DEV.2.1/CM1/ex4/Mafenetre.java
Normal file
16
DEV.2.1/CM1/ex4/Mafenetre.java
Normal file
@@ -0,0 +1,16 @@
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class Mafenetre extends JFrame {
|
||||
|
||||
public Mafenetre() {
|
||||
super("Illumination");
|
||||
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
this.setSize(697,156);
|
||||
this.setLocation(500,250);
|
||||
|
||||
Illumination illumination = new Illumination(5);
|
||||
this.add(illumination);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user