Yesterday, I completed some UI work in Swing (normally I don’t do UI’s) as most of the people here are on holiday, including the UI guys.
So I went for it, used the IntelliJ form builder (is nice as long you are in design mode, it’s a PITA if you want to get it build with Maven -> so generated java code from it) and then started to wire up the controller and the model.
I instantly remembered why I hate doing UI’s: it sucks! And even more in Swing. The binding support.. well there’s none. And how hard I even tried to write clean code, it became a mess. And after some refactoring, it’s still a mess. The stupid lines of code one has to write to put some stuff on the screen, attach some behavior to it just gives me the creeps. Not to mention the listener hell..
So in short, UI development, not my cup of tea. I’ll start (or end) at the controller.