Skip to content

aeremenok/swing-formbuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generates swing components from java beans at runtime

Allows to create swing forms in the following manner:

Form<Person> form = FormBuilder.map( Person.class ).buildForm();

or

Form<Person> form = FormBuilder.map( Person.class ).with( new SampleBeanMapper<Person>() {
            @Override
            protected JComponent mapBean( Person sample,
                                          SampleContext<Person> ctx )
            {
                final Box box = Box.createHorizontalBox();
                box.add( ctx.label( sample.getName() ) );
                box.add( ctx.editor( sample.getName() ) );
                return box;
            }
} ).buildForm();

This is the new repository of http://code.google.com/p/swing-formbuilder/

About

Generates swing components from java beans at runtime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published