Hmmmm, I've been trying to get it to work in Netbeans, but it makes
little sense to me. I'm sure once I figure it out it will be obvious.
Lionel.
It wasn't exactly all that obvious to me either - I just tried it out
with NetBeans yesterday...both NB 6.1 and NB 6.5. After some
experimentation, it boiled down to creating a new Java application, and
starting out by adding a JFrame form. I then created a simple POJO class
(the prospective bean), added a few properties to the bean using Source >
Insert Code, and then compiled.
At that point, when the JFrame is selected in the editor, you can go down
to the Beans section in the Palette, and click on "Choose Bean". Type in
the class of the bean. You get a little bean cursor after a bit, and drop
it onto the JFrame in the designer. At that point there is a reference to
the bean in the JFrame class, and it also shows up in the Inspector pane.
If you select the bean in the Inspector, you'll have the same kind of
properties window available for it that you have for any other component.
This is sort of half-assed, but it'll help get you started. I myself have
almost never dealt with Java beans in this way.
AHS