posted 11 years ago
Sorry, I didn't clarify this
The changes I have made were
1) adding a branch to the drawItem method, so that when it is "set" and a count has been added
This will affect the g2.fill(bar) method, and there will be a repetition of g2.fill(bar) calls for i number of times.
which there was a pre-shift of location x for the bar, I didn't change the rest of the code.
The only I notice was
getItemLabelGenerator is using row and column parameters of drawItem method which shouldn't be affected by the
code preceding it. Here, when I set a breakpoint inside getItemLabelGenerator
I will get a null from the above method.
That's it. Hope you understand.
Thanks
Jack