I've been trying for a while today to figure out how to get some simple XML data into a JTree. I've been around the Internet looking at various things, DOM, SAX, the lot, and everything just seems so unnecessarily complex.
I tried a few methods, and got rather close with a couple, but ended up with some problems I couldn't seem to fix
I've never attempted anything DOM-related with Java (most of my stuff has been graphical, or rather simple... as I only bother with Java for my Uni assignments).
Would someone be able to point me in the right direction of:
a) Getting some XML data into a JTree (not every node, just a few levels)
b) Getting XML data in a nice, simple way... in general.
Cheers in advance
I tried a few methods, and got rather close with a couple, but ended up with some problems I couldn't seem to fix
I've never attempted anything DOM-related with Java (most of my stuff has been graphical, or rather simple... as I only bother with Java for my Uni assignments).
Would someone be able to point me in the right direction of:
a) Getting some XML data into a JTree (not every node, just a few levels)
b) Getting XML data in a nice, simple way... in general.
Cheers in advance