tell me more icon Creating a Java Bean

You will need to create a Java Bean to store the text input by the user.

To begin creating the bean, open the Create Bean dialog. To open the dialog, in the Application Navigator, right-click the appropriate project and choose New. In the New Gallery, expand General, select JavaBeans in the Categories tree, then Bean in the I tems list and click OK.

New Gallery: JavaBeans category: Bean item

Enter or select appropriate values in the Create Bean dialog to add a skeleton .java file to your project. The file will be located under the package node (with the package name you provided) of the Application Sources folder.

Java Bean in the Applications Navigator

After creating the bean, you can use the source editor to add or edit the code.