Text Field

Hi everybody,

How to make text alignment in a text field (dynamically alignment input (right, left, center) from java)
Please help me very urgent.
idilchennai's picture
Joined: Oct 15 2006 - 4:06pm
Last seen: 16 years 11 months ago

1 Answer:


This is rather a JasperReports specific question and the specialized forum should be used, but I'll try answer here:

You can use conditional styles in your report template to align a text fields differently depending on some dynamic conditions.
Check the /demo/samples/jasper sample provided with the project to see how conditional styles could be used.

I hope this helps.
teodord's picture
Joined: Jun 30 2006 - 9:00am
Last seen: 16 hours 13 min ago