For example, i want to insert data in to two categories in a page.
USER | PASSWORDS
user1 | ******
user2 | *******
user3 | *********
I have inserted the piping symbol to represent the vertical seperator. The vertical seperator should be continous though. Please help.
DesignGridLayout layout= new DesignGridLayout(Panel);
JSeparator sep = new JSeparator(JSeparator.VERTICAL);
layout.row().grid(userlabel).add(passwordlabel);
You might do like this....
The
GridLayout
objects enable you to specify a rectangular grid in which to place the components. Each cell in the grid is the same height as the other cells, and each width is the same width as the other cells. Components are stretched both vertically and horizontally to fill the cell.