How to pu a sort of Global Variable?
I want to modify a variable inside an event listener of a class and that variable to be available to the others methods of the class 2 ( the method that called the event listener usually throgh a button press )
Cause in an ATM programm when i press "See Remaining Credit" in the event the database is red and the remaining credit passed into a variable int, which I will put it into a text label like
Label Text2RemainingCredit = new Label(Amount+" Euro", Label.CENTER);//amount is the int variable
Thank you