if (license != null) {
String name = service.getInfo().getName();
JMenuItem item = new JMenuItem(name, new ImageIcon(
"imgs/tvbrowser16.png"));
setMnemonic(item);
item.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
LicenseBox box = new LicenseBox(mMainFrame, license, false);
util.ui.UiUtilities.centerAndShow(box);
}
});