if i want to declare a button in one class and assign action to it another class, how shall the code be written? the add ActionListener(this) does not to seem to work when the button is declared in one class and action assigned to it another class how shall the code be written?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!