hashtagLinkPopupAdapter = new PopupAdapter()
{
protected JPopupMenu buildPopupMenu(MouseEvent anevent)
{
GlobalController controller = GlobalController.SINGLETON;
MainFrame frame = controller.getMainFrame();
JPopupMenu menu = frame.createNonLockingPopupMenu("Hashtag Link");
SubscribeAction action = (SubscribeAction)ActionManager.get(ActionsTable.CMD_TWITTER_SUBSCRIBE);
// Set links to the actions as the hovered link will be reset upon
// the menu opening as the mouse pointer will move away off the link.