Matisse: using TableModelEditor in data-aware (real) applications
"Witold Szczerba" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Hi there, I am writing simple GUI application with JPA. Great thing is that Toplink and Derby are included in NB5.5 - everything you need is right there out of the box :) In my data frame, there is JTable showing records from database. There is nice table editor in Matisse, you can define columns, but it seems useless, because I have to override data model anyway - my table is loaded with data received from entity manager. Is there any way I could visually define my table columns and use this after replacing data model? Now I have just blank rectangle because I have to use my custom table model... it does not seem to be the proper way of using visual editor :( -josh p.s. I think in the near future Swing should be replaced by some other API for creating desktop applications. I think this new library/framework could use Swing internally but it might be much much more declarative (annotations!). Defining things like table columns, data sources and binding could be finally resolved under one umbrella :)