swixml... again
I've been playing with SwiXML again. I like defining Swing components declaratively in XML, but I dislike having to register derived custom classes explicitly in code. Why can't SwiXML just try to load classes with similar names through the classloader. In other words, it would be nice if SwiXML saw a tag like <myClass myProperty="value1"> and tried to resolve it to a class named MyClass with a bean property called myProperty. I wouldn't even mind having to specify the Java package name as an attribute of an XML element, for example...
<myClass package="edu.unomaha.ui" myProperty="value1"/>
There's probably some design issue that made the original programmer decide against doing it that way. If I find time over break, it might be a fun exercise to see how difficult it would be to refactor SwiXML so that it can resolve XML elements into Java classes automatically.