I need to use JList in NetBeans. I added a JList in interface. I try to populate the JList and I used some code from docs.oracle.com, but in JList I receive the value from definite model in interface. How I can change the value to the list? Please help me to solve this problem.