Почти готово
This commit is contained in:
parent
5ca82a9fde
commit
3edcac277f
@ -1,7 +1,17 @@
|
||||
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
|
||||
// click the <icon src="AllIcons.Actions.Execute"/> 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);
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user