Method add(String s)
Return type: javax.swing.JMenuItem
Member of: javax.swing.JPopupMenu
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 JMenuItem popItem = pop.add( codes[i] );
2 m_popup.add(pp.toString()).addActionListener(this);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.