Some of the very useful components that are common in any application development are CheckBox, ListBox, Button and RadioButton. Here in this Check Box example we will describe you how to create CheckBox component in Echo3. We have used here the server-side API to create checkbox. CheckBox class can be found in the nextapp.echo.app package.
There are four constructor of the class CheckBox as follows:
To create CheckBox application in Echo3 we have created two java files as described below:
CheckBoxServlet.java extends the WebContainerServlet and is responsible for creating a new application instance and returns a new instance of CheckBoxApp. We have created a grid here and have added two check box items into it. On the first check box object we have added the action listener and on another check box is simple without any action. Following is the full example code of our application as follows:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.