contentPanel.removeAll();
contentPanel.add(errorPanel);
return;
}
if (pEventObject instanceof WeatherData) {
WeatherData wd = (WeatherData) pEventObject;
drawWeatherPanel(wd);
} else {
log.warn("Invalid type of object received from controller!");
contentPanel.removeAll();
contentPanel.add(errorPanel);