Fix .compareTo() calculation in Size and Weight classes.
[Persons_Comparator.git] / src / EyeView.java
index ad0c2fa81fd22f50313e121369e9e1330885ca1f..bf047c729fd2e72cace6cb27255c92104cfaa252 100644 (file)
@@ -12,7 +12,7 @@ public class EyeView extends JComponent {
         setEyeObj(eyeObj);
         this.label = new JLabel();
         this.label.setText("Eyes color");
-        this.colorsList = new JList(getEyeObj().getColorsList());
+        this.colorsList = new JList(this.getEyeObj().getColorsList());
         this.colorsList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
         this.colorsList.setLayoutOrientation(JList.VERTICAL);
         add(label);