best way to realize XML?
I've been playing around with some simple examples of both the Java and the XML versions of JDNC component trees. The XML is a good fit for some stuff I'd like to do, like simple dialog boxes.
Anyway, I'm wondering what's the best way to realize XML components. I'm current doing something like this:
ObjectRealizer realizer = Application.getObjectRealizer();
JComponent jc = (JComponent) realizer.getObject("my.xml");
But using ObjectRealizer kinda worries me and I didn't see examples about manually realizing except in Application itself. Is this the best way to do this?