Main.java 470 Bytes
package tp2.ColorPicker;

import javax.swing.*;
import java.awt.*;

public class Main {

    public static final int padding = 15;

    public static void main(String[] args) {
        JFrame win = new JFrame();

        ColorPicker c = new ColorPicker();
        win.add(c);

        win.setLocationRelativeTo(null);
        win.setResizable(false);
        win.pack();

        win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        win.setVisible(true);
    }
}