18 lines
414 B
Java
18 lines
414 B
Java
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);
|
|
}
|
|
} |