diff --git a/src/main/java/pro/litvinovg/w2phtml/gui/ResultsDialog.java b/src/main/java/pro/litvinovg/w2phtml/gui/ResultsDialog.java
index de967d1..d373455 100644
--- a/src/main/java/pro/litvinovg/w2phtml/gui/ResultsDialog.java
+++ b/src/main/java/pro/litvinovg/w2phtml/gui/ResultsDialog.java
@@ -2,12 +2,10 @@ package pro.litvinovg.w2phtml.gui;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
-import java.util.Iterator;
-import java.util.Map;
+
import javax.swing.JButton;
import javax.swing.JDialog;
-import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
@@ -16,7 +14,6 @@ import pro.litvinovg.w2phtml.SingleLogArray;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JTextArea;
-import javax.swing.JLabel;
import javax.swing.JScrollPane;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
@@ -27,6 +24,10 @@ import javax.swing.ScrollPaneConstants;
public class ResultsDialog extends JDialog {
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1L;
private final JPanel contentPanel = new JPanel();
private JTextArea txt_conversionLogs;
private static ResultsDialog dialog = null;
@@ -39,6 +40,8 @@ public class ResultsDialog extends JDialog {
dialog = new ResultsDialog();
dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
dialog.setVisible(true);
+ dialog.setModal(true);
+ dialog.setModalityType (ModalityType.APPLICATION_MODAL);
} catch (Exception e) {
e.printStackTrace();
}