2022-11-28 00:15:39 +04:00
|
|
|
import javax.swing.*;
|
|
|
|
|
|
|
|
public class Main {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
JFrame frame = new JFrame("Hard №1");
|
2022-12-13 22:45:40 +04:00
|
|
|
frame.setContentPane(new FormMap().Mainpanel);
|
2022-11-28 00:15:39 +04:00
|
|
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
|
|
frame.setLocation(500, 200);
|
|
|
|
frame.pack();
|
|
|
|
frame.setSize(800, 600);
|
|
|
|
frame.setVisible(true);
|
|
|
|
}
|
|
|
|
}
|