Guys: I'm creating an application based on Swing, it's a rather complex application, it contains different data models, like TreeModel, tablemodel, etc. This application deals primary with data from database, and interpretation (math) on those data. Is there any kind of patterns or design I can use to make the application data work seamlessly with Swing data model? For example: one of the JTree is to display data query from database, there is a JTable that also displays the data but with the addition of calculated result. I was wondering, how can make JTable and JTree to use the same based data?