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);
|
|
|
|
}
|
|
|
|
}
|