DEV/DEV2.1/TP7/Coloriage.java

18 lines
414 B
Java
Raw Permalink Normal View History

2023-05-09 11:23:33 +02:00
import java.awt.*;
import java.lang.String;
import javax.swing.*;
import java.io.*;
public class Coloriage {
public static void main(String[] args) {
JFrame fenetre = new JFrame();
fenetre.setSize(768,1024);
fenetre.setLocation(0,0);
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ImageColorer m = new ImageColorer(args[0]);
fenetre.add(m);
fenetre.setVisible(true);
}
}