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