我已经(从我的注册表导出): Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.md]
@="markdownfile"
用默认值“markdownfile”。我也有 Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\markdownfile]
[HKEY_C
我想在TreeView项目上有一个上下文菜单。 我期待事件处理程序的ActionEvent为我提供有关哪个TreeView项目被点击的信息,但我只是发现getSource和getTarget返回一个菜单项。我怎样才能找出哪个TreeView项目被点击?我可以在单独的选项卡中有多个treevIews。 FileContextMenu cm = new FileContextMenu(new Even