Chapter 10. Getting a Graphical Weather Forecast: The Forecaster Project

The Forecaster.

Here's a cool one—the Forecaster project. It displays a four-day weather forecast for your area, starting with today's high and low temperatures. All you've got to do is to tell the Forecaster your ZIP Code, and it'll give you the forecast.

The Forecaster does its thing by getting the weather data from the National Weather Service, whose website is http://www.crh.noaa.gov. When the Forecaster knows your ZIP Code, it'll fetch your weather forecast from the National Weather Service, create a JPEG image online with the high and low temperatures plotted, and send ...

Get Java™ After Hours: 10 Projects You'll Never Do at Work now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.