super(yk, AddWordsToCategoryAction.class.getName());
}
@Override
public void actionPerformed(ActionEvent e) {
Node node = yoshikoder.getSelectedNode();
YKDictionary dict = yoshikoder.getDictionary();
CategoryNode cnode = null;
if (node instanceof CategoryNode)
cnode = (CategoryNode)node;
else
cnode = (CategoryNode)node.getParent();
if (area == null){
area = new JTextArea(20,30);
area.setEditable(true);
area.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 2));