// Create Menu
JPopupMenu pop = new JPopupMenu();
Icon wi = Env.getImageIcon("mWindow.gif");
if (m_ddQ != null)
{
m_ddM = new CMenuItem(m_ddQ.getDisplayName(Env.getCtx()), wi);
m_ddM.setToolTipText(m_ddQ.toString());
m_ddM.addActionListener(this);
pop.add(m_ddM);
}
if (m_daQ != null)
{
m_daM = new CMenuItem(m_daQ.getDisplayName(Env.getCtx()), wi);
m_daM.setToolTipText(m_daQ.toString());
m_daM.addActionListener(this);
pop.add(m_daM);
}
Point pp = e.getPoint();