Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ for more details.
My jPhotoFrame software is at a stable point now and looking good. This is the mapping that I created between the Yahoo! Weather condition codes returned for daily forecasts and the Weather Icons font.

Some of the mappings use the same icons because I couldn't find anything to differentiate them. For example Severe Thunderstorms and Thunderstorms are mapped to the same icon. I also have a little issue with some icons not displaying in the exact expected location, but I think this is an issue with how Java handles fonts.

Anyway this is the visual representation of the mapping...
conditions.png




The Java file that defines this mapping as an Enum is available from GitHub. The HTML version is here.

..and finally a screenshot of jPhotoFrame with a three day weather forecast...
v0.2_with_weather.png


-i

Skip down to comments...
A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. If you spot something out of place, please do let me know.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
 
comments powered by Disqus
Other posts you may like...