[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: what's the relationship between swt's formlayout and jgoodie's formlayout


If you have a typical 'Form'-Layout (i.e. labels before text-componentes all aligned in the same columns/rows) than JGoodies Forms is superior to all layout managers I've seen so far.

Having to specify the same data again and again for all similar fields is really annoying (like GridDatas) and waste of characters ;).

Maybe to be more precise - the real power of (JGoodies) Formlayout is not only it's precise syntax for specifiing row+columns. Used with the provided 'FormBuilders' your code is just some lines like:
builder=new FormBuilder(column-specification)
builder.append("Labeltext", textcomponent);
builder.append("Labeltext", textcomponent);
builder.nextLine();
[...]

More information can be found in the whitepaper: http://www.jgoodies.com/articles/forms.pdf
The mentioned SWTForms-port provides all API that is described in this whitepaper, with just minor modifications.