Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class GuiMain extends JFrame {
- public static void main() {
- GuiMain guiMain = new GuiMain();
- }
- public GuiMain() {
- this.setTitle("Ma première fenêtre Java");
- this.setSize(400, 100);
- this.setLocationRelativeTo(null);
- this.setVisible(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement