0

Hi,

I don't know what happen all a suden but all my textfiels variable are now underline in red.
I have
:

    st.setString(1, t1.getText());
            st.setString(2, t2.getText());
            st.setString(3, t3.getText());

Where t1,t2 and t3 are my textfields variable name but is says cannot find symbol. Everything was working fine, I don't understand why this is here now. I try to build and clean and debug but still not working :(

2
Contributors
2
Replies
4
Views
5 Years
Discussion Span
Last Post by JamesCherrill
0

It is for all my textfields variable, not only the one above.

0

Underlined in red - presumably you are using an IDE? Which one?
"Cannot fiond symbol" means you mistyped the name OR that code is outside the scope where the name is defined, probably the latter. Where are those variables defined - in another class? Inside another method?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.