dcsimg
populating XML in a JTable
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Manoharan_Duraisamy
Posted On:   Monday, March 26, 2001 02:40 AM

How can I display a XML document in JTable? or how can create JTable data dynamically from a XML Document?

Re: populating XML in a JTable

Posted By:   Magnus_Ahlander  
Posted On:   Monday, April 2, 2001 04:33 AM

Parse the XML using for instance Xerces from The Apache Software Foundation. This will give you the XML represented as a DOM-tree.

Then create a subclass of AbstractTableModel which makes use of this DOM-tree.
About | Sitemap | Contact