Source:
<code>public void showError(Composite parent, Throwable originalThrowable) { Throwable throwable = wrapError(originalThrowable); String errorMessage = throwable.getMessage(); parent.setLayout(new GridLayout()); Composite statusComposite = new Composite(parent, SWT.NONE); Color bgColor= parent.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND); Color fgColor= parent.getDisplay().getSystemColor(SWT.COLOR_LIST_FOREGROUND); parent.setBackground(bgColor); parent.setForeground(fgColor); GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, true); gridData.widthHint = 0; gridData.heightHint = 0; statusComposite.setLayoutData(gridData); IStatus displayStatus = new Status(IStatus.ERROR, JBossCentralActivator.PLUGIN_ID, errorMessage, throwable); new StatusPart(statusComposite, displayStatus); final Link link = new Link(parent, SWT.WRAP); link.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END)); link.setBackground(bgColor); link.setText(Messages.visualEditorFaq); link.setToolTipText(Messages.visualEditorFaqLink); link.setForeground(link.getDisplay().getSystemColor(SWT.COLOR_BLUE)); link.addMouseListener(new MouseAdapter () { public void mouseDown(MouseEvent e) { BusyIndicator.showWhile(link.getDisplay(), new Runnable() { public void run() { <START> JBossCentralActivator.openUrl(Messages.visualEditorFaqLink, Display.getDefault().getActiveShell(), true); <END> URL theURL = null; try { theURL = new URL(Messages.visualEditorFaqLink); } catch (MalformedURLException e) { JBossCentralActivator.log(e); } IWorkbenchBrowserSupport support = PlatformUI.getWorkbench().getBrowserSupport(); try { support.getExternalBrowser().openURL(theURL); } catch (PartInitException e) { JBossCentralActivator.log(e); } } }); } }); parent.getParent().layout(true, true); }</code><technical_language>opening 2 urls click??</technical_language>

Target:
public void showError(Composite parent, Throwable originalThrowable) { Throwable throwable = wrapError(originalThrowable); String errorMessage = throwable.getMessage(); parent.setLayout(new GridLayout()); Composite statusComposite = new Composite(parent, SWT.NONE); Color bgColor= parent.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND); Color fgColor= parent.getDisplay().getSystemColor(SWT.COLOR_LIST_FOREGROUND); parent.setBackground(bgColor); parent.setForeground(fgColor); GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, true); gridData.widthHint = 0; gridData.heightHint = 0; statusComposite.setLayoutData(gridData); IStatus displayStatus = new Status(IStatus.ERROR, JBossCentralActivator.PLUGIN_ID, errorMessage, throwable); new StatusPart(statusComposite, displayStatus); final Link link = new Link(parent, SWT.WRAP); link.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END)); link.setBackground(bgColor); link.setText(Messages.visualEditorFaq); link.setToolTipText(Messages.visualEditorFaqLink); link.setForeground(link.getDisplay().getSystemColor(SWT.COLOR_BLUE)); link.addMouseListener(new MouseAdapter () { public void mouseDown(MouseEvent e) { BusyIndicator.showWhile(link.getDisplay(), new Runnable() { public void run() { JBossCentralActivator.openUrl(Messages.visualEditorFaqLink, Display.getDefault().getActiveShell(), true); } }); } }); parent.getParent().layout(true, true); }