X-Git-Url: https://git.piment-noir.org/?p=Persons_Comparator.git;a=blobdiff_plain;f=src%2FEyeView.java;h=aa54c8b8d76bdf0109e9fc294d8a21d63feacf63;hp=f88e52eaab8428cf6f785fe8a00c2edd26d1701d;hb=f1e9d6d2fcc7253b117278c4439b656a1e532e68;hpb=416e35f7e06f4689cccfd220bf1b4a20ffac54ec diff --git a/src/EyeView.java b/src/EyeView.java index f88e52e..aa54c8b 100644 --- a/src/EyeView.java +++ b/src/EyeView.java @@ -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); }