|
|
@ -486,13 +486,10 @@ public class ChoosePane extends BasicBeanPane<DataBaseItems> implements Refresha |
|
|
|
|
|
|
|
|
|
|
|
protected String getTableName() { |
|
|
|
protected String getTableName() { |
|
|
|
String tableName = ""; |
|
|
|
String tableName = ""; |
|
|
|
Object obj = this.tableNameComboBox.getSelectedItemObject(); |
|
|
|
Object obj = this.tableNameComboBox.getSelectedItem(); |
|
|
|
if (obj == null) { |
|
|
|
|
|
|
|
obj = this.tableNameComboBox.getSelectedItem(); |
|
|
|
|
|
|
|
if (obj == null) { |
|
|
|
if (obj == null) { |
|
|
|
obj = this.tableNameComboBox.getEditor().getItem(); |
|
|
|
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(); |
|
|
|
if (tp instanceof TableProcedure) { |
|
|
|
if (tp instanceof TableProcedure) { |
|
|
|