aspose file tools*
The moose likes XML and Related Technologies and the fly likes JAXB and JTable tutorial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXB and JTable tutorial" Watch "JAXB and JTable tutorial" New topic
Author

JAXB and JTable tutorial

aswin pal
Greenhorn

Joined: Jan 23, 2010
Posts: 9
Google search did not work, at least for me.

Is there any example that shows how to feed an editable JTable with classes created using JAXB for my schema.

I know TableModel has to be the bridge but I am badly in search of a working example :-(
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18860
    
    8

Your post contains a link to the API documentation for JTable (and so does this reply now). That documentation contains a link to Sun's tutorial about JTable. Follow that link and read the tutorial. Experiment with JTable and its related classes.

Once you have done that you should realize that the fact that your objects happen to be created via JAXB is irrelevant as far as the JTable is concerned.

Or have you already done that, and you have a specific problem which only arises with objects created via JAXB? If so, it would help if you told us what it was.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB and JTable tutorial