Hello davidvee!
I guess colorName is a String. And you should use the String's equals() method instead the == operator when comparing Strings.
Hope this helps.
Type: Posts; User: andreas90
Hello davidvee!
I guess colorName is a String. And you should use the String's equals() method instead the == operator when comparing Strings.
Hope this helps.