When we use public class ButtonHandler implements ActionListener in a separate class file to get the userid and password, we'd like to know if the login was successful. We want to create a boolean class variable success. But whenever we try to move control from the login class to the ButtonHandler class, success returns before ActionListener is run. What should we do?
posted 11 years ago
>What should we do?
Hard to say without seeing any code.
Here's something to play around with - it's rough - but it might give you a couple of ideas