update
This commit is contained in:
14
DEV.2.1/TP/TP6-Dessin/3.Acceuil/MainAcceuil.java
Normal file
14
DEV.2.1/TP/TP6-Dessin/3.Acceuil/MainAcceuil.java
Normal file
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user