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 :(

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

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.