I have a GUI in one class that makes a custom JDialog box come up. However, that JDialog box is in another class. Can I make two action listeners (1 per class) and have them both work?
For example, it would be something like
in the first class. It would call the action listener of the second class, the JDialog.