I'm using a switch structure with a string key. I get the following diagnostic:
strings in switch are not supported in -source 1.6
(use -source 7 or higher to enable strings in switch)
I'm using NetBeans 7.3.1 with the SDK 1.7.
I'm a relative newbie for java so I don't know how to respond to the error message. I've searched far and wide and either found nothing or a gazillion irrelevant hits.
I'm so frustrated I'm ready to go sideways but that leaves the hole in my knowledge. I'd like to find out how to make this work. The prototype I'm working with is below. It handles responses to a menu selection (which will have dozens of choices.)
I'm hoping this forum is the resource I've been missing....