/***
* 设置分录标题
* 20170919 by RJ003_renjiankeji
*
* @param dp
* 标题框
* @param title
* 标题内容
* @param wide
* 长度
*/
public static void setEtitle(DetailPanel dp, String title, int wide) {
dp.setTitle(title);
KDPanel cd = (KDPanel) dp.getComponents()[0];
KDContainer kdConTitle = (KDContainer) cd.getComponent(0);
kdConTitle.setBounds(0, 5, wide, 19);
cd.remove(cd.getComponent(0));
cd.add(kdConTitle, new com.kingdee.bos.ctrl.swing.KDLayout.Constraints(0, 5, wide, 19, 5), 0);
}