Package org.compiere.swing

Examples of org.compiere.swing.CMenuItem


      //  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();
View Full Code Here

TOP

Related Classes of org.compiere.swing.CMenuItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.