Is there a way to retrieve the data from JTextField? for example I have a JTextField and it is editable, so, I want to get that date the user put in. I tried to use method JTextField.getText(); but eclipse makes it red saying that I need to declare my JTextField as a final variable. Or should I use BufferReader? Any advice? Cheers