Quick Tip 45: Hide Popup Menu on OutlineView
Again a QuickTip on OutlineView and again one that disables some default behaviour. This time I wanted to disable the PopupMenu:
NodePopupFactory npf = new NodePopupFactory() {
@Override
public JPopupMenu createPopupMenu(int row, int column, Node[] selectedNodes, Component component) {
return null;
}
};
outlineView.setNodePopupFactory(npf);


