Hi my code is showing incompatible types with my JTextField. Is this not the correct way to do it?
if(SearchField.equals("Stapler"))
This is for my button. SearchField = JTextField. The equals in the () is showing up as an incompatible type.
What should i do to correct it.