topPanel.add(versionLabel, BorderLayout.CENTER);
osLabel = new JLabel(getOSName());
copyrightLabel = new JLabel("Copyright (c) 2011");
dcaitiLabel = new JLabel("Daimler Center for Automotive Information Technology Innovations (DCAITI)");
dcaitiLinkLabel = new HyperlinkLabel(
"<html><a href=\"http://www.dcaiti.com\">http://www.dcaiti.com</a></html>\"",
new HyperlinkLabel.OnClick() {
@Override
public void onClickDo(final MouseEvent me) {
if (Desktop.isDesktopSupported()) {
final Desktop desktop = Desktop.getDesktop();
try {
desktop.browse(new URI("http://www.dcaiti.com"));
} catch (final Exception e) {
e.printStackTrace();
}
}
}
});
creditsLabel = new JLabel("Credits: Map Icons Collection");
creditsLinkLabel = new HyperlinkLabel(
"<html><a href=\"http://mapicons.nicolasmollet.com\">http://mapicons.nicolasmollet.com</a></html>\"",
new HyperlinkLabel.OnClick() {
@Override
public void onClickDo(final MouseEvent me) {