0

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

2
Contributors
2
Replies
5
Views
5 Years
Discussion Span
Last Post by prnjn
0

Read the API doc for the JOptionPane class. There is an example there that uses the yes no option.

0

Read the API doc for the JOptionPane class. There is an example there that uses the yes no option.

Thanks ..
Problem was solved , but i forgot to thank ..
So i am doing it now..
Thank you so much for the support

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.