Somebody asked me a question "What's your JTable's model?". I can't understand and how should I answer to him? I set up a MyTableModel extends an AbstractTableModel, my JTable used it.
MyTableModel myTableModel = new MyTableModel(); JTable searchResult = new JTable(myTableModel);
How should I answer his question? Please give me help, thanks
posted 11 years ago
I must be missing something because to me the answer is simply "MyTableModel" which you wrote and in which you must have provided vectors or arrays for storing your data (as opposed to DefaultTableModel which does itself store table data).
The nice thing about Standards is that there are so many to choose from!