A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
change backcolor in JtextField
Joined: Feb 26, 2010
Feb 28, 2010 13:52:03
does anyone know how to change the backcolor on a Jtextfield, when the component gets the focus?
Joined: Jan 09, 2008
Feb 28, 2010 14:01:02
It's been a while since I've done this but I'm sure you can trap
the focus event with a listener and then change the color.
BEE MBA PMP SCJP-6
Joined: Oct 27, 2005
Feb 28, 2010 14:08:20
Moving to our Swing forum.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
rocket mass heater
subject: change backcolor in JtextField
String to Color type conversion
Jtext problem very urgent
change the color of hyperlink value
JTable renderer - Change the backColor of 2 specific rows.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013