PIbd-11_Zakharov_I.E._Hard/ProjectAirFighter/src/Main.java

14 lines
447 B
Java
Raw Normal View History

import javax.swing.*;
public class Main {
public static void main(String[] args) {
JFrame.setDefaultLookAndFeelDecorated(false);
JFrame frame = new JFrame("FormSeaplane");
frame.setContentPane(new FormAirFighter().mainBox);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLocation(500, 200);
frame.pack();
frame.setSize(1000, 500);
frame.setVisible(true);
}
}