diff --git a/ProjectAirFighter/src/Main.java b/ProjectAirFighter/src/Main.java index f399ada..c3ed9cb 100644 --- a/ProjectAirFighter/src/Main.java +++ b/ProjectAirFighter/src/Main.java @@ -1,8 +1,16 @@ -//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); } } \ No newline at end of file