About #
This library aimed to generated swing interface base on introspection and annotation of DTOs.
It’s based on the experience i made called OBJ2GUI see or here
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.4.2</version>
</dependency>
Import Graddle #
// https://mvnrepository.com/artifact/io.github.warnotte/obj2gui2
implementation 'io.github.warnotte:obj2gui2:1.4.2'