Browse Source

Merge pull request #1238 in DESIGN/design from ~HADES/design:release/10.0 to release/10.0

* commit 'e75b8bc52edbecff70d5f249cc0aaa4090107e3f':
  REPORT-22824 mac下 参数输入弹窗 不在最顶层
feature/big-screen
Hades 5 years ago
parent
commit
afcce08938
  1. 3
      designer-base/src/main/java/com/fr/design/data/DesignTableDataManager.java

3
designer-base/src/main/java/com/fr/design/data/DesignTableDataManager.java

@ -38,6 +38,7 @@ import com.fr.stable.ParameterProvider;
import com.fr.stable.StringUtils;
import com.fr.stable.xml.XMLPrintWriter;
import javax.swing.JFrame;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import java.io.ByteArrayOutputStream;
@ -422,7 +423,7 @@ public abstract class DesignTableDataManager {
final Map<String, Object> parameterMap = new HashMap<>();
if (needInputParams(isMustInputParameters, parameters)) {
final ParameterInputPane pPane = new ParameterInputPane(parameters);
pPane.showSmallWindow(DesignerContext.getDesignerFrame(), new DialogActionAdapter() {
pPane.showSmallWindow(new JFrame(), new DialogActionAdapter() {
@Override
public void doOk() {
parameterMap.putAll(pPane.update());

Loading…
Cancel
Save