diff --git a/designer/src/com/fr/design/mainframe/CellWidgetPropertyPane.java b/designer/src/com/fr/design/mainframe/CellWidgetPropertyPane.java index 4cf88436c..eeb6657c4 100644 --- a/designer/src/com/fr/design/mainframe/CellWidgetPropertyPane.java +++ b/designer/src/com/fr/design/mainframe/CellWidgetPropertyPane.java @@ -87,8 +87,8 @@ public class CellWidgetPropertyPane extends BasicPane { public void populate(ElementCasePane ePane) { - cellEditorDefPane = new WidgetPane(ePane); + this.removeAll(); this.add(cellEditorDefPane, BorderLayout.CENTER); CellSelection cs = (CellSelection) ePane.getSelection(); diff --git a/designer/src/com/fr/design/widget/CellWidgetCardPane.java b/designer/src/com/fr/design/widget/CellWidgetCardPane.java index ec47be204..82153dfeb 100644 --- a/designer/src/com/fr/design/widget/CellWidgetCardPane.java +++ b/designer/src/com/fr/design/widget/CellWidgetCardPane.java @@ -61,7 +61,7 @@ public class CellWidgetCardPane extends BasicPane { private void initComponents(ElementCasePane pane) { - + this.removeAll(); this.setLayout(FRGUIPaneFactory.createBorderLayout()); //k tabbedPane = new CardLayout();