A
A
Andrew_Holmes2013-12-16 02:39:59
Java
Andrew_Holmes, 2013-12-16 02:39:59

What does the model look like when developing a GUI with Swing?

Hello!
I am developing a GUI for a console application written in Java. I am using Swing. I have a couple of tables on the main window. Swing already has models for them. What should my own model look like in this case, which implements all the logic and which needs data from table models (lists and other things)? Should my model encapsulate all used models, or are there other, more concise approaches?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2013-12-16
@rpsv

Your model should be absolutely indifferent to who / what it will use! So the task of linking M and V needs to be thrown off to C ! Well, as they say IMHO, and it’s interesting for yourself how to solve this problem after all. Are you experienced guys who have experience in developing this AU template?! everyone is silent, they don’t want to reveal the secret of being ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question