From 2a044e543111713902bdb5651865ef0359469bff Mon Sep 17 00:00:00 2001 From: plough Date: Fri, 19 Jan 2018 09:13:37 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-6645=20=E5=8F=82=E6=95=B0=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E9=87=8C=E7=9A=84bug2=3D>=E5=8F=82=E6=95=B0=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E4=B8=80=E4=B8=AA=E5=8A=A0=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=9D=A2=E6=9D=BF=E5=92=8Cbody=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer_form/src/com/fr/design/mainframe/ComponentTree.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/designer_form/src/com/fr/design/mainframe/ComponentTree.java b/designer_form/src/com/fr/design/mainframe/ComponentTree.java index c7b2412518..2d7b56d67d 100644 --- a/designer_form/src/com/fr/design/mainframe/ComponentTree.java +++ b/designer_form/src/com/fr/design/mainframe/ComponentTree.java @@ -125,6 +125,11 @@ public class ComponentTree extends JTree { scrollPathToVisible(treepath[0]); } + @Override + public void paint(Graphics g) { + super.paint(g); + designer.getSelectionModel(); // 否则参数一个一个加会导致参数面板和body结构出问题 + } /** * 刷新