Browse Source

Merge pull request #598 in DESIGN/design from ~ALEX.SUNG/design:feature/10.0 to feature/10.0

* commit '61d5e7cbcd086120a5a697be1d3e0f0c90b0b675':
  REPORT-9208 [10.0] SAP插件兼容
research/10.0
neil 6 years ago
parent
commit
2361c37624
  1. 7
      designer-base/src/main/java/com/fr/design/gui/controlpane/JControlUpdatePane.java

7
designer-base/src/main/java/com/fr/design/gui/controlpane/JControlUpdatePane.java

@ -8,6 +8,7 @@ import com.fr.design.data.tabledata.tabledatapane.TreeTableDataPane;
import com.fr.design.gui.ilist.ListModelElement; import com.fr.design.gui.ilist.ListModelElement;
import com.fr.design.layout.FRGUIPaneFactory; import com.fr.design.layout.FRGUIPaneFactory;
import com.fr.general.ComparatorUtils; import com.fr.general.ComparatorUtils;
import com.fr.log.FineLoggerFactory;
import javax.swing.JPanel; import javax.swing.JPanel;
import java.awt.CardLayout; import java.awt.CardLayout;
@ -71,7 +72,11 @@ class JControlUpdatePane extends JPanel {
cardPane.add(updatePanes[i], String.valueOf(i)); cardPane.add(updatePanes[i], String.valueOf(i));
} }
card.show(cardPane, String.valueOf(i)); card.show(cardPane, String.valueOf(i));
updatePanes[i].populateBean(ob2Populate); try{
updatePanes[i].populateBean(ob2Populate);
}catch (Exception e){
FineLoggerFactory.getLogger().error(e.getMessage(), e);
}
break; break;
} }
} }

Loading…
Cancel
Save