Hey guys,
I have:
submitButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
System.out.println("Hello World!");
}
});
in a class that extends JDialog
but it doesn't work. How can I get an action listener working in a JDialog?
Thanks PO