|
@@ -38,9 +38,9 @@ import javax.swing.DefaultListCellRenderer;
|
38
|
38
|
import javax.swing.DefaultListModel;
|
39
|
39
|
import javax.swing.JButton;
|
40
|
40
|
import javax.swing.JDialog;
|
41
|
|
-import javax.swing.JFrame;
|
42
|
41
|
import javax.swing.JList;
|
43
|
42
|
import javax.swing.JPanel;
|
|
43
|
+import javax.swing.WindowConstants;
|
44
|
44
|
import javax.swing.event.ListSelectionEvent;
|
45
|
45
|
import javax.swing.event.ListSelectionListener;
|
46
|
46
|
|
|
@@ -113,7 +113,7 @@ public class UIAttachDialog extends JDialog implements ActionListener, ListSelec
|
113
|
113
|
|
114
|
114
|
/** Displays this dialog. */
|
115
|
115
|
public void display() {
|
116
|
|
- setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
|
116
|
+ setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
117
|
117
|
pack();
|
118
|
118
|
setVisible(true);
|
119
|
119
|
}
|