A lib directory to the project with gson library.
[Persons_Comparator.git] / src / EyeView.java
index f88e52eaab8428cf6f785fe8a00c2edd26d1701d..aa54c8b8d76bdf0109e9fc294d8a21d63feacf63 100644 (file)
@@ -11,6 +11,7 @@ public class EyeView extends JComponent {
         this.label.setText("Eyes color");
         this.colorsList = new JList(getEyeObj().getColorsList());
         this.colorsList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
+        this.colorsList.setLayoutOrientation(JList.VERTICAL);
         add(label);
         add(colorsList);
     }