Compare commits

...

3 Commits

Author SHA1 Message Date
EmmanuelTiamzon
8773a2093d update 2025-12-05 11:15:44 +01:00
EmmanuelTiamzon
19e02c8747 Ajout fenetre 2025-12-05 10:52:51 +01:00
EmmanuelTiamzon
c92acbe2e7 update 2025-12-05 10:52:29 +01:00
5 changed files with 51 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
public class Dessin extends JPanel {
public Dessin() {
}
@Override
public void paintComponent(Graphics g) {
}
}

View File

@@ -0,0 +1,23 @@
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);
this.setLayout(new GridBagLayout());
this.setBackgrund(Color.WHITE);
GridBagConstraints contraintes = new GridBagConstraints();
contraintes.gridx = 1;
contraintes.gridy = 1;
this.setVisible(true);
}
}

View File

@@ -0,0 +1,11 @@
import java.util.ArrayList;
public class Luminance {
private ArrayList<Color> couleurs;
private List listeDePolygones;
public Luminance() {
}
}

View File

@@ -0,0 +1,6 @@
public class Main {
public static void main(String[] args) {
Fenetre fenetre = new Fenetre();
fenetre.setVisible(true);
}
}