14 lines
432 B
Java
14 lines
432 B
Java
import javax.swing.*;
|
|
import java.awt.*;
|
|
|
|
public class MainAcceuil {
|
|
public static void main(String[] args) {
|
|
JFrame frame = new JFrame("Acceuil");
|
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
frame.setUndecorated(true); //https://waytolearnx.com/2020/05/changer-la-bordure-dune-jframe-java.html
|
|
|
|
frame.setSize(278,183);
|
|
frame.setLocation(500,250);
|
|
frame.setVisible(true);
|
|
}
|
|
} |