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

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

Hope you found this post useful...

...so please read on! I love writing articles that provide beneficial information, tips and examples to my readers. All information on my blog is provided free of charge and I encourage you to share it as you wish. There is a small favour I ask in return however - engage in comments below, provide feedback, and if you see mistakes let me know.

If you want to show additional support and help me pay for web hosting and domain name registration, donations, no matter how small, are always welcome!

Use of any information contained in this blog post/article is subject to this disclaimer.
comments powered by Disqus
Other posts you may like...