比如获取工具栏上面的按钮
这段方法在onload 中
KDWorkButton a = null;
Hashtable hashTable2 = new Hashtable();
findComponent(this.toolBar, new String[] { "btnduifangjianjin", },
hashTable2);
if (hashTable2.size() > 0) {
Object oo = hashTable2.get("btnduifangjianjin");
if (oo != null) {
a = (KDWorkButton) oo;
a.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) { // 此处是为按钮绑定方法 相当于在业务设计界面绑定action
try