From 5fc08c58cf3159ea0bd564d6ec069fe949216ed7 Mon Sep 17 00:00:00 2001 From: kerry Date: Thu, 29 Sep 2016 16:39:00 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-379=20=E5=85=B3=E8=81=94=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=9B=86=E9=87=8C=E9=80=89=E4=B8=AD=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=9B=86=E5=90=8D=E7=A7=B0=E9=95=BF=E5=BA=A6=E6=9C=89?= =?UTF-8?q?=E9=99=90=E5=88=B6,=20=E8=B6=85=E8=BF=8710=E4=B8=AA=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E5=90=8E,=20=E6=97=A0=E6=B3=95=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E5=8F=82=E6=95=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tabledatapane/MultiTDTableDataPane.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/designer_base/src/com/fr/design/data/tabledata/tabledatapane/MultiTDTableDataPane.java b/designer_base/src/com/fr/design/data/tabledata/tabledatapane/MultiTDTableDataPane.java index 8fbb7af56..3ba059d22 100644 --- a/designer_base/src/com/fr/design/data/tabledata/tabledatapane/MultiTDTableDataPane.java +++ b/designer_base/src/com/fr/design/data/tabledata/tabledatapane/MultiTDTableDataPane.java @@ -99,12 +99,6 @@ public class MultiTDTableDataPane extends AbstractTableDataPane MAX_LENTH_OF_DATASET) { - tmp = tmp.substring(0, tmp.length() - SUB_LENGTH); - tmp = tmp + "..."; - uiLabel = new UILabel(tmp); - } if (!ComparatorUtils.equals(tableDataWrappe.getTableDataName(), multiName)) { centerPanel.add(new BarPanel(tmp, tableDataWrappe.getIcon())); } @@ -285,12 +279,18 @@ public class MultiTDTableDataPane extends AbstractTableDataPane MAX_LENTH_OF_DATASET) { + tmp = tmp.substring(0, tmp.length() - SUB_LENGTH); + tmp = tmp + "..."; + tabledataName = new UILabel(tmp); + } UILabel iconLabel = new UILabel(icon); chekbox.addActionListener(tableDataCheckboxListener); iconLabel.addMouseListener(chooseTableDataListener);