title: Java Swing: Generating dynamic GUI forms from XML
body: <p>I am writing this application in Java, where I have a <code>JTree</code> on the left of the <code>JFrame</code>, and the item selected in the <code>JTree</code> determines what appears on the right. This is similar to <code>Edit --&gt; Preferences</code> in Thunderbird, and several other applications' preferences.</p>
  
  <p>Anyhow the main difference is that in my app the stuff on the right is dynamic, and needs to be generated at run time using input from a file.</p>
  
  <p>What I am after is various ways in which this can be accomplished, code snippets or existing frameworks / libraries if they exist.</p>
  
  <p>The input file needs to be something higher level than the sort of XML generated during Serialization. No output capability is required.</p>
  
  <p>Thanks</p>