Netbeans module get current project path
2022-09-25
TopComponent activeC = TopComponent.getRegistry().getActivated();
FileObject dataLookup = activeC.getLookup().lookup(FileObject.class);
Project pro = FileOwnerQuery.getOwner(dataLookup);
String path = pro.getProjectDirectory().getPath();
Post Views: 1,335
2022/09/25 by admin