Add functionality to a menu button in java
-
29-10-2019 - |
Question
I am new to Java and I was wondering how to add functionality to menu item?
What I would like it to do, is to set two values to 0.
This is the code I have currently:
JMenuItem clear = new JMenuItem("Clear");
Options.add(clear);
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow