I have problems regarding implementing JTable
, specifically the AbstractTableModel
. I can create and show data from JTable
but my current scenario is different from my usually scenario.
What I want to do is to make my JTable
accept an input from user and I want to put other components inside the JTable
Lets say for every row there is a JComboBox
, JTextField
and a JCheckBox
, however when I start to implement the JTable
model (AbstractTableModel
) I don't know how can I put those components to my JTable
?
Since the method getValue
from AbstractTableModel
return type is of object data types. Do you have any workaround for this kind of problems and by the ways I hate using DefaultTableModel
since it lacks flexibility as much as possible I want an AbstractTableModel
:) help is really appreciated.