|
|
@ -489,9 +489,12 @@ public class ChoosePane extends BasicBeanPane<DataBaseItems> implements Refresha |
|
|
|
|
|
|
|
|
|
|
|
protected String getTableName() { |
|
|
|
protected String getTableName() { |
|
|
|
String tableName = ""; |
|
|
|
String tableName = ""; |
|
|
|
Object obj = this.tableNameComboBox.getSelectedItem(); |
|
|
|
Object obj = this.tableNameComboBox.getSelectedItemObject(); |
|
|
|
if (obj == null) { |
|
|
|
if (obj == null) { |
|
|
|
obj = this.tableNameComboBox.getEditor().getItem(); |
|
|
|
obj = this.tableNameComboBox.getSelectedItem(); |
|
|
|
|
|
|
|
if (obj == null) { |
|
|
|
|
|
|
|
obj = this.tableNameComboBox.getEditor().getItem(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (obj instanceof TreePath) { |
|
|
|
if (obj instanceof TreePath) { |
|
|
|
Object tp = ((ExpandMutableTreeNode) ((TreePath) obj).getLastPathComponent()).getUserObject(); |
|
|
|
Object tp = ((ExpandMutableTreeNode) ((TreePath) obj).getLastPathComponent()).getUserObject(); |
|
|
|