This post originated from an RSS feed registered with Java Buzz
by Scott Delap.
Original Post: Create Swing Tables Without Needing a Model.
Feed Title: ClientJava.com
Feed URL: http://www.clientjava.com/archives/wireless_mobile.rdf
Feed Description: Client/Desktop Related Java Development
Over at IBM Developer works there is an article on JTables without a model. In many ways this reminds me of JDNC without the network piece. Basically, the author has created a generic model backed by a collection that uses bean properties to get the column values. The mappings between the columns and the bean fields are done through an XML document. For a large number of applications this is probably a "good enough" solution.
Ease Swing development with the TableModel Free framework This article introduces the TableModel Free (TMF) framework which eliminates the need to use TableModels with Swing JTables. The TMF framework allows for more configurable JTables by moving all of table-specific data outside of the compiled code and into a configurable XML file. Framework developer and Java UI enthusiast Michael Abernethy walks you through TMF framework, helping you reduce the size of a TableModel from hundreds of lines of code to just a single line, making management a snap.