Setting field color dynamically

By: Thomas Buehler - thomas_buehler
Setting field color dynamically
2002-10-24 07:49
I like to set the field color dynamically when filling the report data. So i tried to do the following thing: I'm passing a field with name Color which contains the color as String, for Example "#FF0000". In the xml file have done forecolor = $F{Color}, but I got a compiler error.
java.lang.NumberFormatException: For input string: "$F{Color}"

What is the best way to pass field color dynamically?

Thank you very much.
Thomas
2001 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:26am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet
Feedback