I think it is very useful because you forget all about layout managerss stuffs....
But I have a question about the way that I can ad components to a BoxFormBuilder:
How can I add two componentes (with their labels) into the same column?
I mean, I have a row with one component, and for the second row, I want to add 2 components, and for the third row, I want to add only one component again.
I tried this:
- Code: Select all
Box contacto = Box.createHorizontalBox();
contacto.add("Compañía: ", companyTf);
contacto.add("Contacto: ", contactTf);
BoxFormBuilder fb = new BoxFormBuilder(
fb.add("Id Máquina: ", idMachineTf);
fb.add("Id Dispositivo: ", idDeviceTf);
But with this code Im getting the screen in the attached image.
Thanks for your support...