f88e52eaab8428cf6f785fe8a00c2edd26d1701d
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
);
28 public Eye
getEyeObj() {
35 public void setEyeObj(Eye eyeObj
) {