[Advanced-java] How to capture the button click event in JDialog?

Alvin Wang xwang at qtechservices.com
Wed Sep 10 14:05:24 2003


hi, I want to capture the button click event in JOptionPane (like "OK",
"Yes"). Anyone can tell me how to do it?

Thanks!