PIbd-22_Bondarenko_M.S._War.../Main.java

14 lines
404 B
Java
Raw Normal View History

2022-11-16 18:24:14 +04:00
import javax.swing.*;
public class Main {
public static void main(String[] args) {
2022-12-15 22:31:51 +04:00
JFrame frame = new JFrame("Hard №4");
frame.setContentPane(new FormMapWithSetShipsGeneric().Mainpanel);
2022-11-16 18:24:14 +04:00
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLocation(500, 200);
frame.pack();
frame.setSize(800, 600);
frame.setVisible(true);
}
}