Modify the Customer.java file so that the KeywordFilterField
displays the data properly.
- Open the Java perspective:
- From the main menu select .
- Select Java and click OK.
- In Package Explorer, expand the SUP101Sample\src\SUP101 folder.
- Open the Customer.java file, and add this code to the end of the file, after the line /** End code region: JSON methods **/:
public String toString()
{
return getFname() + " " + getLname();
}
- Save the Customer.java file.