private JComponent createAddOnHomepageButton(final AddOnProperties addOn) { // parse the URI on creation of the dialog to test the URI syntax early try { return UITools.createHtmlLinkStyleButton( addOn.getHomepage().toURI(), addOn.getHomepage().toString()); } catch (Exception e) { LogUtils.warn("add-on " + addOn + " has no valid homepage: " + e); return new JLabel("-"); } }