In the show teams screen in Gui design, the players of the selected team from the combobox will come to the table and when a new team is selected, the players of that team will come and the players of the old team will not appear on the screen. in Java.
There will be "Read File", "Show Results", "Show Teams" screens with GUI design. We will read the file path on the file reading screen and make the teams match. Lines with "-" at the beginning of the text file will be sets. The players below it will be recorded as name, surname and number and will be the players of the team above. Between 1-10 random levels will be given to each player, the total of which will be the team's level. Each team will play 1 match between themselves and the higher level will be defeated 1-0 and will get 3 points. In the show teams screen in Gui design, the players of the selected team from the combobox will come to the table and when a new team is selected, the players of that team will come and the players of the old team will not appear on the screen. in Java.
player.txt contents.
-Alanyaspor
Ahmet Gülay 1 Alpay Celebi 2 Ceyhun Gülselam 3 Efecan Karaca 4 Salih Uçan 5 Adam Bareiro 6 Khouma Babacar 7 Call South 8 Hasan Acar 9 Mustafa Pektemek 10 Berkan Kutlu 11
-Antalyaspor
Dogukan Ozkan 1 Ersan Gulum 2 Serdar Gürler 3 Bahadir Ozturk 4 Eren Albayrak 5 Dogukan Sinik 6 Nuri Sahin 7 Sidney Sam 8 Lukas Podolski 9 Dever Orgill 10 Fyodor Kudryaşov 11
-Besiktas
Valentin Rosier 1 Francisco Montero 2 Josef Souza 3 Georges Kevin 4 Oguzhan Ozyakup 5 Atiba Hutchinson 6 Vincent Aboubakar 7 Cyle Larin 8 Raşit Gezzal 9 Ajdin Hasic 10 Necip Uysal 11
-BB Erzurumspor
Goktug Bakirbas 1 Bohdan Butko 2 Gabriel Obertan 3 Hasan Hatipoğlu 4 Johanna Omolo 5 Arvydas Novikovas 6 Petrus Boumal 7 Petrus Boumal 8 Mustafa Kebir 9 Elba Rashani 10 The Calling of Bugra 11
-Caykur Rizespor
Tarik Cetin 1 Montassar Talbi 2 Abdullah Durak 3 Yasin Pehlivan 4 Loïc Rémy 5 Fabrício Baiano 6 Fernando Boldrin 7 Tunay Torun 8 Ismail Koybasi 9 Alexander Søderlund 10 Selim Ay 11
-Denizlispor
Huseyin Altintas 1 Muhammet Ozkal 2 Kubilay Aktas 3 Marvin Bakalorz 4 Hugo Rodallega 5 Radosław Murawski 6 Come on Sacko 7 Muris Mešanović 8 Mathieu Dossevi 9 Oguz Yilmaz 10 Ahmed Yasin 11
-Fatih Karagümrük
SK Emiliano Viviano 1 Alparslan Erdem 2 Koray Altinay 3 Enzo Roco 4 Lucas Biglia 5 Artur Sobiech 6 Mevlut Erdinc 7 Yavuz Aygun 8 Efe Sweet 9 Fabio Borini 10 Alassane Ndao 11
-Fenerbahce
Altay Bayindir 1 Mauricio Lemos 2 Serdar Aziz 3 José Sosa 4 Ozan Tufan 5 Mert Yandaş 6 Papiss Cissé 7 Mbwana Samatta 8 Diego Perotti 9 Enner Valencia 10 Dimitris Pelkas 11
-Galatasaray
Fernando Muslera 1 Sener Ozbayrakli 2 Omar Elabdellaoui 3 Taylan Antalya 4 Henry Onyekuru 5 Ryan Babel 6 Radamel Falcao 7 Halil Dervisoglu 8 Oghenekaro Etebo 9 Martin Linnes 10 Ryan Donk 11
-Gaziantep FK
Gunay Guvenc 1 Papy Djilobodji 2 Ulaş Rich 3 Alin Toșca 4 Kenan Ozer 5 Jefferson Nogueira 6 Oguz Ceylan 7 Muhammet Demir 8 Guray Vural 9 Júnior Morais 10 Bilal Basacikoglu 11
-Genclerbirligi SK
Kristoffer Nordfeldt 1 Mattias Johansson 2 Halil Pehlivan 3 Arda Kizildag 4 Diego Ângelo 5 Dominik Furman 6 Soner Dikmen 7 Bogdan Stancu 8 Sefa Yılmaz 9 Srđan Spiridonović 10 Mustafa Akbas 11
-Göztepe SK
Kerim Receiver 1 Marko Mihojević 2 Alpaslan Ozturk 3 Kubilay Sonmez 4 Halil Akbunar 5 Soner Aydogdu 6 Cherif Ndiaye 7 Zlatko Tripić 8 Arda Özçimen 9 Balázs Megyeri 10 Adis Jahović 11
-Erroryspor
Munir Mohamedi 1 Burak Çamoğlu 2 Alexander Katranis 3 Soner Example 4 Isaac Sackey 5 Jean Billong 6 Rayane Aabid 7 Aaron Boupendza 8 Selim Ilgaz 9 Youssouf Koné 10 Pablo Renan 11
-Istanbul Basaksehir FK
Volkan Babacan 1 Léo Duarte 2 Hasan Sidewalk 3 Ahmet Kivanc 4 Mehmet Topal 5 Alexandru Epureanu 6 Edin Visca 7 Danijel Aleksić 8 Junior Fernándes 9 Berkay Ozcan 10 Nacer Chadli 11
-Kasimpasa SK
Ramazan Kose 1 Osama Haddadi 2 Danny Drinkwater 3 Tarkan Free 4 Loret Sadiku 5 Anil Koc 6 Bengali Koita 7 Haris Hajradinović 8 Yusuf Erdogan 9 Dusko Tosic 10 Gilbert Koomson 11
-Kayserispor
İsmail Çipe 1 Nehuén Paz 2 Joseph Attamah 3 Dimitrios Kolovetsios 4 Pedro Henrique 5 Mugdat Celik 6 Abdulkadir Stone 7 Miguel Lopes 8 Emre Demir 9 Ugur Demirok 10 Dogan Alemdar 11
-Konyaspor
Volkan Hazelnut 1 Adil Demirbag 2 Marin Aničić 3 Ahmet Calik 4 Marko Jevtović 5 Deni Milosević 6 Levan Sengelia 7 Ibrahim Šehić 8 Zymer Bytyqi 9 Oguz Guctekin 10 Sokol Cikalleshi 11
-MKE Ankaragücü
Korcan Celikay 1 Michał Pazdan 2 Erdi Dikmen 3 Miloš Stanojević 4 Atakan Cankaya 5 Tiago Pinto 6 Orkan Cinar 7 Saba Lobjanidze 8 Ante Kulušić 9 Assane Dioussé 10 Ender Aygören 11
-Sivasspor
Arouna Koné 1 Ugur Ciftci 2 Aaron Appindangoyé 3 Isaac Cofie 4 Erdogan Yesilyurt 5 Max Gradel 6 Robin Yalçın 7 Mustapha Yatabaré 8 Jorge Félix 9 Samba Camara 10 Aladdin Read 11
-Trabzonspor
Ugurcan Cakir 1 Berat Ozdemir 2 Marlon Xavier 3 Huseyin Turkmen 4 Mecid Huseyni 5 Yusuf Sari 6 Lewis Baker 7 Anthony Nwakaeme 8 Abdulkadir Omur 9 Anastasios Bakasetas 10 Vitor Hugo 11
-Yeni Malatyaspor
Abdulsamed Damlu 1 Philip Gameli 2 Stevie Mallan 3 Afriyie Acquah 4 Fernando Zuqui 5 Hope Cloud 6 Judy Lukoki 7 Aly Mallé 8 Wallace Santos 9 Dogukan Emeksiz 10 Teenage Hadebe 11
Step by step
Solved in 3 steps