Pibd-22_Presnyakova.V.V_Cat.../Main.java

15 lines
389 B
Java
Raw Permalink Normal View History

2022-12-05 00:55:23 +04:00
import javax.swing.*;
public class Main {
public static void main(String[] args) {
JFrame frame = new JFrame("Лодка");
2022-12-23 10:22:06 +04:00
frame.setContentPane(new FormParam().MainPanel);
2022-12-05 00:55:23 +04:00
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLocation(500, 200);
frame.pack();
frame.setSize(800, 600);
frame.setVisible(true);
}
}