![]() |
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); |