Compare commits

...

2 Commits

Author SHA1 Message Date
99fcffe6d6 Merge branch 'main' into Lab01 2024-05-13 13:32:22 +04:00
614ebc8df7 готова к сдаче 2024-05-13 13:19:53 +04:00
2 changed files with 16 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="jdk" jdkName="21" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -0,0 +1,15 @@
package ProjectContainerShip.src;
import javax.swing.*;
public class Main {
public static void main(String[] args) {
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);
}
}