return link;
}
private void installKeyBindings(final JComponent ui) {
KeyBindingInstaller bindings = new KeyBindingInstaller(ui, JComponent.WHEN_IN_FOCUSED_WINDOW);
bindings.addBinding(KeyStroke.getKeyStroke('a'), "author", new AbstractAction() {
@Override
public void actionPerformed(ActionEvent e) {
MainAuthorDialog.display();
}
});
if (versionBanner != null) {
bindings.addBinding(KeyStroke.getKeyStroke('v'), "version", new AbstractAction() {
@Override
public void actionPerformed(ActionEvent e) {
showVersionBanner();
}
});
}
bindings.install();
}