String type = NewLinkEvent.LINK_TYPE_MOVE; if (evt.getSource().equals(moveMenuItem)) { type = NewLinkEvent.LINK_TYPE_MOVE; } else if (evt.getSource().equals(newLinkMenuItem)) { type = NewLinkEvent.LINK_TYPE_NEW_LINK; } else if (evt.getSource().equals(cloneMenuItem)) { type = NewLinkEvent.LINK_TYPE_CLONE; } else if (evt.getSource().equals(cancelMenuItem)) { return; } fireCreateLink(type, sources, parent, index, prevIndex); }
setFontSize(currentFontSize+1); java.util.List expandedChildren = getExpandedChildren((TreeNode)getModel().getRoot()); ((DefaultTreeModel) getModel()).reload(); expandPaths(expandedChildren);  }
				public void actionPerformed(ActionEvent evt) {					String type = NewLinkEvent.LINK_TYPE_MOVE;					if (evt.getSource().equals(moveMenuItem)) {						type = NewLinkEvent.LINK_TYPE_MOVE;					} else if (evt.getSource().equals(newLinkMenuItem)) {						type = NewLinkEvent.LINK_TYPE_NEW_LINK;					} else if (evt.getSource().equals(cloneMenuItem)) {						type = NewLinkEvent.LINK_TYPE_CLONE;					} else if (evt.getSource().equals(cancelMenuItem)) {						return;					}					fireCreateLink(type, sources, parent, index, prevIndex);				}