Projet_JAVA_P2P_STRI2A/src/gui/MainWindow.java

18 lines
395 B
Java
Raw Normal View History

2020-04-03 12:11:29 +02:00
package gui;
import javax.swing.JFrame;
public class MainWindow extends JFrame{
public MainWindow(){
JFrame fenetre = new JFrame();
fenetre.setTitle("Client");
fenetre.setSize(550, 200);
fenetre.setLocationRelativeTo(null);
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
fenetre.add(new Parameters());
fenetre.setVisible(true);
}
}