3 public class EyeView
extends JComponent
{
6 private JComboBox colorsList
;
13 this.label
= new JLabel();
14 this.label
.setText("Eyes color");
15 this.colorsList
= new JComboBox
<>(this.getEyeObj().getColorsList());
16 if (this.getEyeObj().getStrColor() != null)
17 this.colorsList
.setSelectedItem(this.getEyeObj().getStrColor());
25 public Eye
getEyeObj() {
32 public void setEyeObj(Eye eyeObj
) {