@ -66,6 +66,7 @@ import javax.swing.JPanel;
import javax.swing.JScrollPane ;
import javax.swing.JScrollPane ;
import javax.swing.JSplitPane ;
import javax.swing.JSplitPane ;
import javax.swing.JToolBar ;
import javax.swing.JToolBar ;
import javax.swing.SwingUtilities ;
import javax.swing.text.BadLocationException ;
import javax.swing.text.BadLocationException ;
import javax.swing.text.Document ;
import javax.swing.text.Document ;
import java.awt.BorderLayout ;
import java.awt.BorderLayout ;
@ -303,7 +304,7 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> {
//显示对应的配置
//显示对应的配置
strategyConfigPane . populateBean ( populateStrategyConfig ) ;
strategyConfigPane . populateBean ( populateStrategyConfig ) ;
BasicDialog dlg = strategyConfigPane . showMediumWindow ( DesignerContext . getDesignerFrame ( ) , new DialogActionAdapter ( ) {
BasicDialog dlg = strategyConfigPane . showMediumWindow ( SwingUtilities . getWindowAncestor ( DBTableDataPane . this ) , new DialogActionAdapter ( ) {
@Override
@Override
public void doOk ( ) {
public void doOk ( ) {
super . doOk ( ) ;
super . doOk ( ) ;
@ -314,7 +315,7 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> {
}
}
}
}
} ) ;
} ) ;
dlg . setAlwaysOnTop ( true ) ;
//dlg.setAlwaysOnTop(true);
dlg . setVisible ( true ) ;
dlg . setVisible ( true ) ;
}
}
} ) ;
} ) ;