Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a framework for dynamically generating a Swing GUI from a Pojo in Runtime?

My problem is, that I have simple Pojos or simply objects that contain data. These can vary and new types of these can be added during runtime.

So I need a Swing GUI to input text to them. Is there a framework that dynamically creates a Swing GUI from a POJO during runtime? Technically, it should be possible using reflection and/or annotations. However, I have found nothing on the web. Is there anything like this out there?

like image 979
Dr. Simon Harrer Avatar asked Oct 17 '10 13:10

Dr. Simon Harrer


1 Answers

http://www.metawidget.org/

Metawidget is a 'smart User Interface widget' that populates itself, at runtime, with UI components to match the properties of your business objects.

Metawidget does this without introducing new technologies. It inspects your existing back-end architecture (such as JavaBeans, existing annotations, existing XML configuration files) and creates widgets native to your existing front-end framework (such as Swing, Java Server Faces, Struts, Android).

like image 139
Cephalopod Avatar answered Nov 15 '22 02:11

Cephalopod