Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Ranganathan Kaliyur Mannar wrote:
A model should hold data and not GUI components. Renderers and Editors then dictate on how that data is used.
Ranganathan Kaliyur Mannar wrote:
You have provided some code, but we are unable to deduce the issue from the same. I would suggest that you write a small runnable program which replicates the issue and paste the same. This is called SSCCE. This makes it easier for fellow ranchers to simply copy your code and run it rightaway - and that means they can see the issue and provide suggestions.
Andrea Marasco wrote:I know about the model-view-controller design pattern, the thing is that a JTable is a GUI component so I don't think it is that bad that the model contains GUI components.
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.