I have 2 classes runnung 2 different ActionListener
How could I return a variable to the 1st class after executing it in the second class.
Effectively, a need to call a second class because I need it to run an algorithm, but it uses AcionListener and I can't call a
return thisvariable to the first.
Is there a way to share the common variables between the 2 classes??
Hope you know what I mean?