File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT / JFace and the fly likes change text area background color at run time. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply 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: 326

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
Rancher

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

Joined: May 03, 2008
Posts: 3216

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.
 
 
subject: change text area background color at run time.
 
Threads others viewed
Validation message not working same for Input Text and Text Area
Change Text area's Limited Text Color
BorderLayout question
Rendering JComboBox
Add a background image to a JPanel & JTextArea
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com