meta.put("author.mail", "Allan.Brighton@t-online.de");
// use the built-in web server to host the icon, or if there is an error, use a default URL
String defUrl = "http://java.sun.com/developer/techDocs/hi/repository/graphicsRepository/toolbarButtonGraphics/development/WebComponent24.gif";
try {
JSkyServer server = JSkyServer.getInstance();
URL packageUrl = server.getJSkyPackageUrl();
URL logoUrl = new URL(packageUrl, "images/ImageDisplay24.gif");
meta.setIconUrl(server.isFound(logoUrl)
? logoUrl.toString()
: defUrl);
} catch (IOException e) {
e.printStackTrace();
meta.setIconUrl(defUrl);