Merge remote-tracking branch 'origin/LabWork01' into LabWork01
This commit is contained in:
commit
370f5f856c
@ -1,17 +1,7 @@
|
|||||||
//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);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user