Developpement/23DEV1.1/TPS2/TP01/FluxDeCaracteres/FluxDeCaractere(suite)/TestCouleur.java

16 lines
365 B
Java
Raw Normal View History

2024-12-09 11:53:11 +01:00
import javax.swing.*;
import java.awt.*;
public class TestCouleur
{
public static void main(String[] args)
{
JFrame fenetre = new JFrame();
fenetre.setSize(400, 400);
fenetre.setLocation(100, 100);
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Couleur coul = new Couleur();
fenetre.add(coul);
fenetre.setVisible(true);
}
}