If I already have a two column table loaded from a database into a dbswing.jdbTable, and I would like to use the data from that table to be the data source for JFreeChart (bar chart)what is a good way to do that and keep them in sync. Is there a way to make use of the MVC architecture that Swing has?
Thanks
Rick
dbswing.jdbTable
RE: dbswing.jdbTable
Hi Rick,
I'm not familiar with the database classes you are using - but if it were a regular JTable then you would need to modify your table model class so that it implements the (JFreeChart) CategoryDataSource interface.
Regards,
DG.
I'm not familiar with the database classes you are using - but if it were a regular JTable then you would need to modify your table model class so that it implements the (JFreeChart) CategoryDataSource interface.
Regards,
DG.