ActionLink () { ActionLink actionLink = new ActionLink(); actionLink.setText(ApplicationBundle.message("light.edit.status.bar.notification.link.text")); actionLink.setDropDownLinkIcon(); actionLink.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { showPopupMenu(actionLink); } }); return actionLink; }