当前位置: 技术问答>java相关
How do I get the parent JMenu for a JMenuItem
来源: 互联网 发布时间:2015-05-27
本文导语: Hello every one, I have a list one JMenuItem for a particular Menu. When the User select the JMenuItem, I can get it's name by casting e.getSource, However, how can I get the name of the name of its parent Menu? Thank u ve...