How to make a JPanel Form accept a method with action listener from the caller
I have a JPanel form with jPasswordField, a JLabel and a JButton.
I want the caller to provide implementation for the button on calling the JPanel object
Re: How to make a JPanel Form accept a method with action listener from the caller
Quote:
I want the caller to provide implementation for the button
What is an implementation? Who and where is the caller?
Are you asking for how to pass a reference to an object (the button) to a method?