s
This commit is contained in:
parent
370f5f856c
commit
bf9af09dc6
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user