Static variable in ActionListener : <p>How to create a variable in ActionListener that its value increases and  leaves saved over all objects(as static variable but ActionListener does not allow to declare it) if the condition is proper?</p>
