Hi All!
Sorry if this question is answered elsewhere but am I new to java and haven't quite gotten the javax.swing(yuk ) of searching this forum yet. I am looking for code that would enable me to do a work around to do a string object comparison.
The strings that I will be comparing will be of known input Example:
Any Ideas would be greatly appreciated
Thanks
Scoty :
"Learn from others' mistakes. You could not live long enough to make them all yourself."
-- Hyman George Rickover (1900-86),
Sorry if this question is answered elsewhere but am I new to java and haven't quite gotten the javax.swing(yuk ) of searching this forum yet. I am looking for code that would enable me to do a work around to do a string object comparison.
The strings that I will be comparing will be of known input Example:
Code:
String myVar = new myVar(userInputFromJComboBox);
Switch (myVar){
case Office:
//Do This
case Store:
//Do That
case Storage:
//Do the other
}
Any Ideas would be greatly appreciated
Thanks
Scoty :
"Learn from others' mistakes. You could not live long enough to make them all yourself."
-- Hyman George Rickover (1900-86),