diff --git a/DGcreate/.idea/.gitignore b/DGcreate/.idea/.gitignore new file mode 100644 index 0000000..359bb53 --- /dev/null +++ b/DGcreate/.idea/.gitignore @@ -0,0 +1,3 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml diff --git a/DGcreate/.idea/misc.xml b/DGcreate/.idea/misc.xml new file mode 100644 index 0000000..0548357 --- /dev/null +++ b/DGcreate/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/DGcreate/.idea/modules.xml b/DGcreate/.idea/modules.xml new file mode 100644 index 0000000..626b82e --- /dev/null +++ b/DGcreate/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/DGcreate/DGcreate.iml b/DGcreate/DGcreate.iml new file mode 100644 index 0000000..c90834f --- /dev/null +++ b/DGcreate/DGcreate.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/DGcreate/out/production/DGcreate/Main.class b/DGcreate/out/production/DGcreate/Main.class new file mode 100644 index 0000000..baa3095 Binary files /dev/null and b/DGcreate/out/production/DGcreate/Main.class differ diff --git a/DGcreate/out/production/DGcreate/menu/menu.class b/DGcreate/out/production/DGcreate/menu/menu.class new file mode 100644 index 0000000..1f16706 Binary files /dev/null and b/DGcreate/out/production/DGcreate/menu/menu.class differ diff --git a/DGcreate/src/Main.java b/DGcreate/src/Main.java new file mode 100644 index 0000000..3e59c38 --- /dev/null +++ b/DGcreate/src/Main.java @@ -0,0 +1,5 @@ +public class Main { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} \ No newline at end of file diff --git a/DGcreate/src/menu/menu.java b/DGcreate/src/menu/menu.java new file mode 100644 index 0000000..5fe99a6 --- /dev/null +++ b/DGcreate/src/menu/menu.java @@ -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); + } +} diff --git a/日志.txt b/日志.txt new file mode 100644 index 0000000..e69de29