当前位置: 动力学知识库 > 问答 > 编程问答 >

java - Adding a jbutton in a jmenu that executes a different class

问题描述:

Not sure if what I am asking makes sense. But I have a class that has a jmenu, along with a jframe with a graph init. I would like to know if it is possible to add a jbutton as jmenu item, so that when it is clicked, it will run a different class . Thanks in advance

分享给朋友:
您可能感兴趣的文章:
随机阅读: