DEV/DEV3.2/TP3/Luminance/MainLuminance.java

18 lines
448 B
Java
Raw Normal View History

2023-10-27 14:58:17 +02:00
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);
}
}