As i said earliar i am making HRMS , the last phase is logout button.
when logout button is clicked , an option dialog should appear which ask for yes or no .
PROBLEM is i dont know how to use JOptionPane.YES_NO_OPTION so that i can give user choice of yes or no before logging out finally..
i also thinking how to use the input (yes or no ) given by the user.
Rest i know if i am ab to use the input given by the user.
Please help as soon as possible.
Thanks in advance