From 38bd784adeddacd5db5821a82456e91b2c6bc3f3 Mon Sep 17 00:00:00 2001 From: obo Date: Mon, 3 Jul 2023 16:34:09 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-98932=20=E8=AE=BE=E8=AE=A1=E5=99=A8?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E8=87=B3=E5=B1=8F=E5=B9=95=E5=A4=96=E6=97=B6?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E5=BC=B9=E5=87=BA=E6=A1=86=E5=90=8E=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=BF=9B=E8=A1=8C=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/design/style/color/ColorSelectDialog.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/style/color/ColorSelectDialog.java b/designer-base/src/main/java/com/fr/design/style/color/ColorSelectDialog.java index cc7275aa1c..149ce1a17e 100644 --- a/designer-base/src/main/java/com/fr/design/style/color/ColorSelectDialog.java +++ b/designer-base/src/main/java/com/fr/design/style/color/ColorSelectDialog.java @@ -7,11 +7,6 @@ import com.fr.design.gui.ibutton.UIButton; import com.fr.design.utils.gui.GUICoreUtils; import javax.swing.JPanel; -import javax.swing.SwingUtilities; -import java.awt.Point; -import java.awt.event.KeyAdapter; -import java.awt.event.KeyEvent; -import java.awt.event.KeyListener; import java.io.Serializable; import java.awt.BorderLayout; import java.awt.Color; @@ -155,7 +150,7 @@ public class ColorSelectDialog extends MiddleChartDialog{ ColorSelectDialog dialog = new ColorSelectDialog(owner,pane,initialColor,okListener,selectePane); dialog.setAlwaysOnTop(alwaysOnTop); dialog.setModal(true); - dialog.setVisible(true); + dialog.show(); } /**