How can I add horizontal line to header , footer or details part?

How can I add horizontal line to header , footer or details part?

I guess it should be possible. Have you checked the examples at http://dynamicjasper.com/documentation-examples/how-to-2/?