Signed-off-by: wangwei <2261850470@qq.com>
master
wangwei 2 years ago
parent 0ee5077521
commit 9daf2ba8a1

@ -0,0 +1,3 @@
# 默认忽略的文件
/shelf/
/workspace.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/DGcreate.iml" filepath="$PROJECT_DIR$/DGcreate.iml" />
</modules>
</component>
</project>

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

@ -0,0 +1,5 @@
public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}

@ -0,0 +1,13 @@
package menu;
import javax.swing.*;
public class menu {
public static void main(String[] args){
JFrame page = new JFrame("主菜单");
page.setSize(800,450);
page.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
page.setResizable(false);
page.setLocationRelativeTo(null);
page.setVisible(true);
}
}
Loading…
Cancel
Save