Grid is a two-dimensional structure on which the designers and developers can organize their components in a well and easy to understand manner. Grid class in the server-side API of Echo3 is having the same meaning as in other technologies. In Echo3 it has been provided in nextapp.echo.app package. Grid class is having two constructors to create grid component:
In this example we have created a Grid with the default size of 2 and have added two labels into them. We have created one GridServlet which extends the WebContainerServlet and invokes the GridApp by creating a new application instance of it. Here is the full example code of the application as given below:
When user clicks on the button "Add a default grid of 2" it will invoke a new WindowPane and will add the default grid into it.
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.