show(e);
}
public void show(MouseEvent e) {
if (e.isPopupTrigger() && tree.selectRowAt(e.getPoint())) {
LibraryMenu menu = new LibraryMenu();
JPopupMenu popup = menu.create(
tree,
library.getData(),
tree.getSelectedTracks(false));
System.out.println(e.getPoint());
popup.show(tree, e.getX(), e.getY());