Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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: 21892
36
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.
 
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!