From d5dfd626a054d1fbbf22d4b3310a9432e89e32b1 Mon Sep 17 00:00:00 2001 From: 王彬 Date: Tue, 25 Jun 2019 16:15:00 +0800 Subject: [PATCH] 1.提交代码 --- .idea/workspace.xml | 87 +++++++++++++++++++++++++++++++++++++++------------------------------------------------ src/com/taover/ui/EntityGenWindow.java | 2 +- 2 files changed, 40 insertions(+), 49 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a81cfbb..37f8a0d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,8 @@ - - - + - - + + @@ -38,7 +36,7 @@ - + @@ -48,7 +46,7 @@ - + @@ -56,26 +54,17 @@ - + - - - - - - - - - - + - - + + @@ -105,8 +94,8 @@ @@ -242,12 +231,15 @@ - + + + + - @@ -260,9 +252,8 @@ - - + @@ -271,7 +262,7 @@ - + @@ -279,7 +270,7 @@ - + @@ -397,24 +388,17 @@ - - - - - - - - + - - + + - - + + @@ -422,24 +406,31 @@ - + - - + + - + - - + + - + - - + + + + + + + + + diff --git a/src/com/taover/ui/EntityGenWindow.java b/src/com/taover/ui/EntityGenWindow.java index 39c30e0..7dffc45 100644 --- a/src/com/taover/ui/EntityGenWindow.java +++ b/src/com/taover/ui/EntityGenWindow.java @@ -107,8 +107,8 @@ public class EntityGenWindow extends JFrame{ tableNameList.add(tableNameCommoArr[j]); } } + JButton eBtn = (JButton)e.getSource(); try { - JButton eBtn = (JButton)e.getSource(); eBtn.setEnabled(false); UiUtils.generateEntity(EntityGenWindow.this.prop, tf_dbPackage.getText(), tf_outputDir.getText(), tf_dbName.getText(), tableNameList, createAllTable); JOptionPane.showMessageDialog(EntityGenWindow.this, "生成完成", "提示信息", JOptionPane.INFORMATION_MESSAGE); -- libgit2 0.21.2