I have a JTree with nodes that extend DefaultMutableTreeNode. I want to open a new JInternalFrame when the user clicks on them, but DefaultMutableTreeNode has no addMouseListener() method. I've tried writing the method myself but I'm lost. Any advice?