cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abulat...@apache.org
Subject [cayenne] 01/02: CAY-2537 Generate DB Schema: Schema Generation Complete popup window is hidden
Date Wed, 06 Mar 2019 08:58:30 GMT
This is an automated email from the ASF dual-hosted git repository.

abulatski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git

commit 55f653d76fd1b3f3834b38363554999839d3a753
Author: Arseni Bulatski <ancarseni@gmail.com>
AuthorDate: Wed Feb 13 10:23:27 2019 +0300

    CAY-2537 Generate DB Schema: Schema Generation Complete popup window is hidden
---
 .../cayenne/modeler/dialog/ValidationResultBrowserView.java   | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/ValidationResultBrowserView.java
b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/ValidationResultBrowserView.java
index 3bd28c0..0ed7a7d 100644
--- a/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/ValidationResultBrowserView.java
+++ b/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/ValidationResultBrowserView.java
@@ -20,10 +20,6 @@
 
 package org.apache.cayenne.modeler.dialog;
 
-import com.jgoodies.forms.builder.PanelBuilder;
-import com.jgoodies.forms.layout.CellConstraints;
-import com.jgoodies.forms.layout.FormLayout;
-
 import javax.swing.JButton;
 import javax.swing.JComponent;
 import javax.swing.JDialog;
@@ -35,6 +31,11 @@ import java.awt.BorderLayout;
 import java.awt.Dimension;
 import java.awt.FlowLayout;
 
+import com.jgoodies.forms.builder.PanelBuilder;
+import com.jgoodies.forms.layout.CellConstraints;
+import com.jgoodies.forms.layout.FormLayout;
+import org.apache.cayenne.modeler.Application;
+
 /**
  */
 public class ValidationResultBrowserView extends JDialog {
@@ -44,6 +45,8 @@ public class ValidationResultBrowserView extends JDialog {
     protected JButton closeButton;
 
     public ValidationResultBrowserView() {
+        super(Application.getFrame());
+
         this.closeButton = new JButton("Close");
 
         this.messageLabel = new JTextArea();


Mime
View raw message