Sorry, I don't use netbeans and can't help you use it. You need to find someone that can help you use it.
I use the javac.exe program from the JDK to compile my java files.
Type: Posts; User: Norm
Sorry, I don't use netbeans and can't help you use it. You need to find someone that can help you use it.
I use the javac.exe program from the JDK to compile my java files.
You need to get the full text of the error messages from netbeans so you can post them here.
Without error messages, we don't know what the problem is and how to fix it.
What happens when you compile the code? Are there any errors?
If there are no compiler errors, what happens when you execute the code?
Work on one item at a time. Which one do you want to work on first?
We expect you to make some efforts and ask questions when you have problems. We don't write code for you to copy into your...
Can you get the compiler's error message?
Do a Search for examples of the JOptionPane class usage. There are several samples here on the forum for example.
Strange, you are using code here to...
Look at using the JOPtionPane class methods for getting user input.
Use System.out.println() to display on the command prompt window
Please explain why you think you are doing it wrong. If the output shows the problem, copy the output here and add some comments describing the problem and show what the output should be.
Please edit your post and wrap your code with code tags:
YOUR CODE GOES HERE
to get highlighting and preserve formatting.