PDA

View Full Version : what the use of this 2 line of code, it seem useless?



Anonymous
04-12-2002, 10:34 PM
i don't understand this 2 line of codes which place at jfreereportdemo.java for printing report 2.

Group group = (Group)report2.getGroups().get(0);

ItemBand band = report2.getItemBand();

i was tried to change the .get(0) to other value but it seem nothing changes, and i also remove these 2 lines and same result was show out.

why?

Anonymous
04-18-2002, 06:06 AM
I think those lines are just leftovers from something that has been removed. You can comment them out. I will tidy up the code for the next version.

Regards,

DG.