## Plugging In Your AbleBean

You can plug any bean into the Able Agent Editor by loading it from the jar by going to the Tools menu and selecting Add beans to palette. You can also automatically load the beans from the jar file anytime the Agent Editor is started. In either case, a jar's manifest file will be scanned for any beans it contains, and each one that implements AbleBean will be added to the palette. Any beans that extend AbleDefaultAgent will be added to the File -> New pulldown menu. Remember, your jar file will need to be included in your CLASSPATH environment variable.

If you wish to automatically load explicitly named jar files from one or more directories, you can add one or more jars to the Bean Jars field in the Agent Editor preferences dialog. Select File -> Preferences to display the dialog. You may also edit this value directly in your able.preferences file as shown:

> Unix and OS/2:

> >     AbleJarFiles=/able/lib/yourbeans.jar;/able/lib/yourbeans2.jar

> Windows:

> >     AbleJarFiles=c:\\able\\lib\\yourbeans.jar;c:\\able\\lib\\yourbeans2.jar

To add beans from all jar files from a single specific directory to the editor bean palette on startup, provide the name of the directory in the Plug In Jar Directory field in the Agent Editor preferences dialog. Select File -> Preferences to display the dialog. You may also edit this value directly in your able.preferences file as shown:

> Unix and OS/2:

> >     PlugInJarDirectory=/able/lib/yourDir

> Windows:

> >     PlugInJarDirectory=c:\\able\\lib\\yourDir