How do I show a Node to my Explorer View?

Apache NetBeans Wiki Index

Note: These pages are being reviewed.

Once you have a component to show Nodes , you will need to set the root node whose children it will display (some views show the root node, some don’t, in some cases you can set whether it does or not).

Presumably you have an ExplorerManager set up for your view - just get that and call setRootContext (someNode) and the view will display it.