Let's create a simple NetBeans Platform application for opening
files. We assume we need an "Open File" action, rather than using
the Favorites window to open files, which would work just as well,
if not better.
Use the NetBeans Platform Application template in the New
Project dialog to create a skeleton NetBeans Platform
application.
Add a new module and set dependencies on Datasystems API, File
System API, Lookup API, Nodes API, UI Utilities API, and Utilities
API.
In the new...