Create a bean

Hello,

I would like to create a bean. his bean will be a mini paint to allow user of my Servoy solution to modify a picture.

Where can I find documentation or tutorial to create a bean and compile it in a Jar file?

Thanks,

Hi, there is documentation on creating a plugin. It can be found in the documentation section of Servoy.

That will give you some pointers (although not specifically for a bean).

The rest is ‘simple’. Create a bean like you would normally and it should work.

The ‘simple’ part is pure Java.

Hi IT2BE,

I don’t see the relation between plugin and bean. I my bean I have to use ‘IClientPlugin’ inferface like in a Servoy plugin? Or just create a simple ‘bean’ not especially reserved with a servoy application.

Thanks,

I my bean I have to use ‘IClientPlugin’ inferface like in a Servoy plugin?

Nope, you CAN use the IScriptObject interface for samples etc…

No need to do that though…

There are examples of wrapping an applet or bean to be a Servoy bean as part of the Servoy Presentations. Otherwise, it is just the standard Java stuff for making a bean.

http://www.servoy.com/servoyworld/prese … ations.zip

Scott, your url is broken because of your BBCode…