Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB and JTable tutorial

 
aswin pal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21319
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic