protected Widget attachNodeWidget(MyNode node) {
JTextField box=new JTextField(node.text);
box.setBackground(java.awt.Color.yellow);
box.setBorder(javax.swing.BorderFactory.createLineBorder(Color.BLACK,2)); // NOI18N
box.setToolTipText("press Enter to insert the text or ESC to chancel");
ComponentWidget widget = new ComponentWidget(this, box);
/*
// widget.setImage(node.getImage());
widget.setBackground(Color.YELLOW);
widget.setLabel(node.text);//Long.toString(node.hashCode()));
widget.setLayout(LayoutFactory.createFillLayout());