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);
	}
}