From ee65aee0e25cd8ffdb50b7c75897f84d39abdbf3 Mon Sep 17 00:00:00 2001 From: plough Date: Tue, 22 Aug 2017 14:26:12 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-3163=20=E5=90=88=E4=BD=9C=E5=BC=80?= =?UTF-8?q?=E5=8F=919.0=E8=AE=BE=E8=AE=A1=E5=99=A8=3D>=E4=BA=A4=E4=BA=92?= =?UTF-8?q?=E9=AA=8C=E6=94=B6=3D=E3=80=8B=E7=82=B9=E5=87=BB=E6=8F=92?= =?UTF-8?q?=E5=85=A5=E6=8C=89=E9=92=AE=EF=BC=8C=E5=B8=A6=E6=8C=87=E5=90=91?= =?UTF-8?q?=E7=AE=AD=E5=A4=B4=E7=9A=84=E5=BC=B9=E7=AA=97=E8=A2=AB=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer_base/src/com/fr/file/FILEChooserPane.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/designer_base/src/com/fr/file/FILEChooserPane.java b/designer_base/src/com/fr/file/FILEChooserPane.java index 64205f919..29d018398 100644 --- a/designer_base/src/com/fr/file/FILEChooserPane.java +++ b/designer_base/src/com/fr/file/FILEChooserPane.java @@ -1,10 +1,6 @@ package com.fr.file; -import java.awt.BorderLayout; -import java.awt.Color; -import java.awt.Component; -import java.awt.Dimension; -import java.awt.Insets; +import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; @@ -510,7 +506,7 @@ public class FILEChooserPane extends BasicPane { this.suffix = suffix; - dialog = showWindow(SwingUtilities.getWindowAncestor(parent), false); + dialog = showWindow((Window)parent, false); JPanel contentPane = (JPanel) dialog.getContentPane(); contentPane.setLayout(FRGUIPaneFactory.createM_BorderLayout()); contentPane.add(this, BorderLayout.CENTER);