SE702:JavaTableWidget:Design: Difference between revisions
Jump to navigation
Jump to search
m 6 revision(s) |
(No difference)
|
Latest revision as of 05:27, 3 November 2008
- Write the widget to extend JComponent to allow it to be used in swing applications
- This loses some of the functionality in JTable, but is more flexible
- A table is merely a view (MVC). It should not store or manipulate data directly.
- Hmmm it can be controller also - editable cells
- Data should be stored in a table model (extends AbstractTableModel generally -> has to implement the TableModel interface somehow)