DEV/DEV3.2/TP3/Luminance/MainLuminance.java
2023-10-27 14:58:17 +02:00

18 lines
448 B
Java

import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.*;
public class MainLuminance{
public static void main(String[] args) {
JFrame fenetre = new JFrame();
Luminance pan = new Luminance();
fenetre.setSize(1200, 250);
fenetre.setLocation(0, 0);
fenetre.addMouseListener(pan);
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
fenetre.setContentPane(pan);
fenetre.setVisible(true);
}
}