Okay so I'm new to java
I've been at it for going on two weeks, I am trying to learn the best way I know how I have a online class many resources on the net and a few books. And i am stuck I am using the JOptionPane to create a graphical role paying game starting small and expanding it as I learn more. My question is how do I get the JOptionPane dialog box to give yes or no and be able to use the input mainly the yes or no option I believe I can use the input from there.
Any help is appreciated,
Have you tried Searching for coding examples of the usage of JOPtionPane?