Почти готово

This commit is contained in:
nezui1 2024-04-22 23:16:56 +04:00
parent 5ca82a9fde
commit 3edcac277f

View File

@ -1,7 +1,17 @@
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or //TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter. // click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
import javax.swing.*;
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);
} }