This commit is contained in:
nezui1 2024-04-22 23:47:04 +04:00
parent 370f5f856c
commit bf9af09dc6

View File

@ -1,8 +1,16 @@
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or import javax.swing.*;
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
public class Main { public class Main {
public static void main(String[] args) { 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);
} }
} }