淡然绿茶

文章
2
资源
1
加入时间
2年10月18天

鼠标右键的代码

JTree tree = new JTree();JPopupMenu popup = new JPopupMenu();popup.add..............tree.addMouseListener(new MouseAdapter(){    public void mousePressed(MouseEvent e)    {        if (SwingUtilities.i