PGWelch / com.opendoorlogistics

http://www.opendoorlogistics.com
GNU Lesser General Public License v3.0
80 stars 45 forks source link

Unable to setValue of an image of Routes Table while Report generation #41

Closed ashokbugude closed 7 years ago

ashokbugude commented 7 years ago

I am trying to generate report from Studio by setting custom image in place of OSM Map of report

I have written below code in 'SubReportsWithProviderBuilder.java'

BufferedImage img = ImageIO.read(new URL(staticMapString)); ds.getTableAt(1).setValueAt(img,0,4); // table(1) is Routes table and 4th column is Image

But the image is not getting updated and when I run ds.getTableAt(1).setValueAt(img,0,4) as evaluate expression, the result is undefined