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
scroll top