Update MatchTheMeaningController.java

This commit is contained in:
maj83 2020-04-29 16:51:31 +01:00
parent 64cc28c8ee
commit dd59c2a9fd

View file

@ -103,9 +103,9 @@ public class MatchTheMeaningController implements Initializable{
Collections.shuffle(orderList);
RightWord1.setText(questions.get(orderList.get(0)).getWelsh());
RightWord1.setText(questions.get(orderList.get(1)).getWelsh());
RightWord1.setText(questions.get(orderList.get(2)).getWelsh());
RightWord1.setText(questions.get(orderList.get(3)).getWelsh());
RightWord2.setText(questions.get(orderList.get(1)).getWelsh());
RightWord3.setText(questions.get(orderList.get(2)).getWelsh());
RightWord4.setText(questions.get(orderList.get(3)).getWelsh());
}else {
LeftWord1.setText(questions.get(0).getWelsh());
@ -116,9 +116,9 @@ public class MatchTheMeaningController implements Initializable{
Collections.shuffle(orderList);
RightWord1.setText(questions.get(orderList.get(0)).getEnglish());
RightWord1.setText(questions.get(orderList.get(1)).getEnglish());
RightWord1.setText(questions.get(orderList.get(2)).getEnglish());
RightWord1.setText(questions.get(orderList.get(3)).getEnglish());
RightWord2.setText(questions.get(orderList.get(1)).getEnglish());
RightWord3.setText(questions.get(orderList.get(2)).getEnglish());
RightWord4.setText(questions.get(orderList.get(3)).getEnglish());
}
}