Viewing the NetBeans Central Registry
Posted
by Geertjan
on Oracle Blogs
See other posts from Oracle Blogs
or by Geertjan
Published on Mon, 25 Jun 2012 16:35:30 +0000
Indexed on
2012/06/25
21:21 UTC
Read the original article
Hit count: 266
/NetBeans IDE
For some fun, create a TopComponent and then add this bit of code, with thanks to Toni Epple:
add(new BeanTreeView(), BorderLayout.CENTER); try { myExplorerManager.setRootContext(DataObject.find(FileUtil.getConfigRoot()).getNodeDelegate()); } catch (DataObjectNotFoundException ex) { Exceptions.printStackTrace(ex); }
Run the application and you'll see the NetBeans Central Registry a.k.a. System FileSystem) of the application you're running.
© Oracle Blogs or respective owner