Originally posted by zub kodi: ...I get an error cannot resolve symbol method setSupplier(java.lang.String)...
What is the type of "companyInfo"? The type of this reference should be the class in which the method "setSupplier" is defined. (Or if you are overriding the method, it could also be a supertype of that class.)
I see that setSupplier is in the file company.java, so I might assume that the class is also "company." But whatever that class is called, that should be the type of the variable "companyInfo."
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org