14 lines
447 B
Java
14 lines
447 B
Java
|
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);
|
||
|
}
|
||
|
}
|