3 public class EyeView
extends JPanel
{
6 private JComboBox colorsList
;
13 this.label
= new JLabel();
14 this.label
.setText("Eyes color");
15 this.colorsList
= new JComboBox
<>(this.getEyeObj().getColorsList());
16 this.colorsList
.setSelectedItem(this.getEyeObj().getStrColor());
24 public Eye
getEyeObj() {
31 public void setEyeObj(Eye eyeObj
) {