Learning how to debug your code will be useful forever.
Sometimes printlns are a good technique,
sometimes using breakpoints in an IDE is good.
Print out most variables and value returned from...
Type: Posts; User: Norm
Learning how to debug your code will be useful forever.
Sometimes printlns are a good technique,
sometimes using breakpoints in an IDE is good.
Print out most variables and value returned from...
With the posted code, nothing happens when I select an item in the combox. Have you tested the posted code?
For debugging I suggest that the JOPtionPane methods be replaced with calls to...
What do I need to do when executing the code to see the problem?
Please explain what "didn't work" means. What happened when the code was compiled and executed?
If there were errors, copy the full text and post it here.