diff --git a/ProjectAirFighter/src/Main.java b/ProjectAirFighter/src/Main.java index f399ada..a4b609d 100644 --- a/ProjectAirFighter/src/Main.java +++ b/ProjectAirFighter/src/Main.java @@ -1,7 +1,17 @@ //TIP To Run code, press or // click the icon in the gutter. +import javax.swing.*; + public class Main { public static void main(String[] args) { + JFrame.setDefaultLookAndFeelDecorated(false); + JFrame frame = new JFrame("Истребитель"); + frame.setContentPane(new FormAirFighter().getPanelWrapper()); + frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + frame.setLocation(200, 200); + frame.pack(); + frame.setSize(1000, 600); + frame.setVisible(true); }