Friday, October 15, 2004

jdk 1.5 annotations

i'm playing with jdk 1.5 annotations and thinks look quite fine. I made up of set of user interface annotations which I use to decorate my data objects. Then I have an automatic editor interface builder which construct a GridBagLayout based editor based on the annotations I used to decorate the data class. The automatic UI builder has setter and getter methods that use reflection to initialise the UI from the data object and set object values as edited in the UI, respectively.

I'll release everything as open source and post it as soon as I get the time to arrange the code a little bit.