aa54c8b8d76bdf0109e9fc294d8a21d63feacf63
3 public class EyeView
extends JComponent
{
6 private JList colorsList
;
10 this.label
= new JLabel();
11 this.label
.setText("Eyes color");
12 this.colorsList
= new JList(getEyeObj().getColorsList());
13 this.colorsList
.setSelectionMode(ListSelectionModel
.SINGLE_SELECTION
);
14 this.colorsList
.setLayoutOrientation(JList
.VERTICAL
);
29 public Eye
getEyeObj() {
36 public void setEyeObj(Eye eyeObj
) {