Starting with the code in JMV, make the following changes to add/modify a bean: You can add a new Bean, or change sizes, positions, etc. The files are located in the JMV_files directory. In the examples, replace ``NewBean'', ``NewHookup'', etc with names corresponding to the beans you've created.
... public class NewHookup implements java.beans.PropertyChangeListener... ...
public void buildMenus(...
JMVMenuItem newBeanMenuItem,
...)
{
JMenu newBeanMenu;
...
newBeanMenu = new JMenu("Title");
menuBar.add(newBeanMenu);
newBeanMenuItem.initMenu(newBeanMenu);
If you want to add a bean to an already existing menu, replace ``newBeanMenu''
with the name of the menu.
For the bean to be found, you must add the class file to the allbeans.jar file in the src/ directory in JMV.