Table of Contents
This library aimed to generated swing interface base on introspection and annotation of DTOs.
Generation is based on variables annotations with multiple parameters, helping to design more sophisticated GUI.
Works as simple as it needs only some lines of code to generate a “JPanel” reflecting an objects where variables becomes viewable/editable.
All input controls are normally done automatically to forbid bad input of the user avoiding developer headache. (eg : Textfield binded to an Integer : user shouldn’t be allowed to put non digit characters).
GitHub link #
Source code is available in GitHub
Maven repository #
Import Maven #
<!-- https://mvnrepository.com/artifact/io.github.warnotte/obj2gui2 --> <dependency> <groupId>io.github.warnotte</groupId> <artifactId>obj2gui2</artifactId> <version>1.1.6</version> </dependency>
Import Graddle #
// https://mvnrepository.com/artifact/io.github.warnotte/obj2gui2 implementation 'io.github.warnotte:obj2gui2:1.1.6'