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
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
0 Answers:
No answers yet