An XML Editor in 3 Steps (Without Any Coding)
By Geertjan-Oracle on Jan 15, 2010
- Go to File | New Project and create a NetBeans Platform application (or use the Maven archetype and open it in the IDE of your choice).
- Right-click the application, choose Properties, and go to the Libraries panel.
- In "platform11", add a checkmark for "Favorites".
- In "ide12", add a checkmark for "XML Text Editor" and then click the "Resolve" button.
- Run the application, open the Favorites window (Window | Favorites), find your XML file, double-click it, and then it opens in the XML editor.
And here's your XML editor:
And now you can add/remove menu items, toolbar buttons, etc. You can brand the title bar, splash screen, etc. You can create a distribution (from menu items in the IDE) for ZIP distribution or a web start distribution. And you can add new modules with new features. Or remove existing modules to end up with the XML editor of your dreams.