aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes change text area background color at run time. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "change text area background color at run time." Watch "change text area background color at run time." New topic
Author

change text area background color at run time.

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 411

I have text area which is initially disabled on a button click i am enabling it and I am trying to change background color at run time but its not working. Can any body help me? I am doing the below:



Pawan Chopra
SCJP - DuMmIeS mInD
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
works OK for me.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4642
    
    5

To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem.

luck, db
There are no new questions, but there may be new answers.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: change text area background color at run time.