How would I display certain output text if the text entered equaled "text".
If that makes any sense.
So lets say you enter a question into a JTextField.
You press a button that submits the text.
The output displayed depends on what the question you asked was.
Think about it as "If question = What color is the sky? On submit, display text "Blue".
I cant figure out how to implement this.
I confused myself.