S
S
Sergey Sergey2022-01-14 09:41:30
Java
Sergey Sergey, 2022-01-14 09:41:30

Is there an explanation for the concept of what a model is based on this class DefaultComboBoxModel?

DefaultComboBoxModel

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan, 2022-01-15
@Sergei1111

Are you interested in the meaning of the word model? Or what is the DefaultComboBoxModel?
Answer to the first question:
A model is a class that describes an entity. In Java this is also called pojo (plain old java object).
Or here's another:

Model, in the case of MVP patterns, MVC is a layer that represents the logic of your project, abstracted from any UI details, data transformation tasks, etc.

Answer to the second question: The
DefaultComboBoxModel is a model from the javax.swing package that describes an entity such as the default ComboBox (dropbox list). Note that it is parameterized.

Z
Zhbert, 2022-01-14
@Zhbert

There are .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question