hi people

does anyone know how to change the backcolor on a Jtextfield, when the component gets the focus?

thanks

Focus Listener Tutorial

And changing the background color is just a question of looking up the methods in the JTextField API.

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.