Pular para o conteúdo principal

Postagens

Mostrando postagens de junho, 2014

Another World Cup App... Using JavaFX, FXML, Javascript, CSS

The World Cup Brazil is happening! It's exciting to see people from all over the world visiting my country! Today I decided to create another World Cup App, this time I'll use JavaFX, but I won't write any Java code . It's a simple app to visualize all the world cup matches and click on a game for details about it. I spent less than 3 hours working on the core of the application and a few more hours working on the details. Getting the resources to create the App By resources I meant images and to do this I downloaded all the flags images from Fifa site. It was a small and easy scrapping. Notice that all images are in under the following URL:  http://img.fifa.com/images/flags/4/{CODE}.png. To download all flags I used the following Python Script: import urllib2 codes = open('countries_codes.txt', 'r') for line in codes:         code = line.replace('\n', '').lower() + '.png'         img_url = 'http://img.fifa.com/ima...