I have a JTree which represents an SQL where clause:
var > 10
var2 = text
var3 > 2
var4 < 2
I'm going to stick this tree in a JSplitPane and then Im going to make a dynamic parser as the right component - just the representative SQL statement
var > 10 AND
var2 = text AND
I want to know what would be the best JComponent to use to display this SQL statement??
eg, it would be easy to generate XML from the tree and this XML could allow me to specify, font color, bold, indents (for groups AND, OR) etc.
What do you think??