Given a certain Java object, I would like to generate at runtime a visual interface for configuring certain properties of it. The Object properties to configure in this generated interface can be specified with annotations. They can be primitive types (or their wrappers) + Strings and arrays or collections of these types. The type of visual component to configure certain property depends on the type of such property (for example, a boolean may be configured with a list view with only two alternatives).
Does a library for doing this already exist in Java ? I am using JavaFX in my application, and I do not have any hope this already exists in this framework (but I would be happy of being wrong). However, if a Swing library doing this exists, I may be able to embed it in my JavaFX interface.