Thanks for the tip on using only the version that accepts the argument.
I need to draw "lines" and "images" that are perfectly aligned on top of current containers.
See my spec (drawed on photoshop):

And this is my current app (on codename one):

So what im attempting to do is add a layer on top and override the container's paint method and paint the connecting lines.
For the white horizontal lines, I will set a border on every "level" container (level = group of 4 color squares).
If you have a better way please help me.
Thanks in advance.