diff --git a/.idea/Lab(HARD).iml b/.idea/Lab(HARD).iml index d6ebd48..17c20fa 100644 --- a/.idea/Lab(HARD).iml +++ b/.idea/Lab(HARD).iml @@ -2,8 +2,10 @@ - - + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 639900d..bcb5da6 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/ProjectContainerShip/src/Main.java b/ProjectContainerShip/src/Main.java index 3e59c38..debcd5b 100644 --- a/ProjectContainerShip/src/Main.java +++ b/ProjectContainerShip/src/Main.java @@ -1,5 +1,15 @@ +package ProjectContainerShip.src; + +import javax.swing.*; public class Main { public static void main(String[] args) { - System.out.println("Hello world!"); + JFrame.setDefaultLookAndFeelDecorated(false); + JFrame frame = new JFrame("Контейнеровоз"); + frame.setContentPane(new FormContainerShip().PanelWrapper); + frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + frame.setLocation(500, 200); + frame.pack(); + frame.setSize(700, 500); + frame.setVisible(true); } -} \ No newline at end of file +}