Solved

change color  for the values of my table??

Posted on 2002-04-10
1
155 Views
Last Modified: 2010-03-31
how to change the color of the contents :
i have this code how to do so :
i want to print the total salary in different color

out.println("<TR>");
                out.println("<TD" +" ALIGN=CENTER"+ " COLSPAN=2"+ " BGCOLOR="+ COLORS[2]+">");
                out.println("<FONT SIZE=+1>");
                out.println("<b>TOTAL SALARY :</b>");
                out.println(totalsalary);
                out.println("<b>O.R</b>");
                out.println("</FONT>");
                out.println("</TD>");
                out.println("</TR>");
0
Comment
Question by:star5
1 Comment
 
LVL 9

Accepted Solution

by:
yongsing earned 5 total points
ID: 6932865
out.println("<FONT SIZE=+1 COLOR=\"FF0000\">");
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how do i compare an object based on two fields 6 54
split string containing \r\n in Java 46 44
couple of eclipse 5 38
java stored proc example 9 32
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question