Search |
||
Got JavaBeans? Here's a way to distribute them...Posted by timboudreau on April 3, 2006 at 11:53 AM PDT
BeanNetter - the NetBeans Module GeneratorSo NetBeans has this cool component palette from which you can drag and drop components onto Swing
forms. But where are all the cool components? NetBeans just shows the default JDK Swing components - but there are lots of components out there. Wouldn't it be nicer if you could make them just appear in your IDE? And there are sites such as nbextras.org with NetBeans plug-ins, and there is an update facility built into NetBeans - so why shouldn't you be able to download JavaBeans straight into the IDE from them? Well, first, it needs to be easy to create a NetBeans module that embeds JavaBeans and puts them on the Component Palette. So I wrote a small tool that generates a NetBeans plugin. It's a wizard, and you point it at a JAR file with some Swing components in it. It finds all the declared JavaBeans that are there, and lets you choose to add or remove other classes. Then it asks for some info like the name of the library - this will be your Beans' category on the Component Palette.
When you complete it, it generates a complete, redistributable NetBeans Module (
What to do with the resultsNow you've got a module, but the point is to get that module to other people. How to do that? Well, first, if the components are open source, I bet the folks at nbextras.org would happily host them, and that site's been getting a lot of attention lately. If they're commercial, there is the Third Party update center that every release copy of NetBeans checks for plug-ins, and that could be a good place - the partner page would be a good place to start.
Sources and Screen Shots
Sources are in
BeanNetter - the NetBeans Module Generator
Choosing a License - Extra points if you can identify the text above »
Related Topics >>
Java Desktop Comments
Comments are listed in date ascending order (oldest first)
|
||
|
|