String a = "my house is near the school";
String b = "He Went to School";
String c = JTextField.getText();
for example if String c = school i must display the both a,b lines on JTextArea
or if String c = house i must display only a lines on JTextArea
how can i do this in Java

