SHEAR transform all shapes in the panel!
Hi,
when I use the 'shear' function to tretch the rectangles (that I use as table cells), all data contained in the panel was inclined.
I would like that the rows of my table are one under each other, and not under but also moved to left.
I obtained in this way:
#############
#############
#############
But I would like in this way:
#############
#############
#############
I'm very sorry, and I hope now I will explain better:
I have some rectangle that compose the cells of a Jtable..
I chose to bend these rectangles with the 'shear' function, but doing this, all axis of the panel bend themselves..
So, every time I create a new row of the table, the new line is painted under the last existing row, and always more to the left.. (sorry my poor english)
How can I do to have all these lines exatly one under each other? Without indent?
Thank's
Whish shear() function are you using? Are you somehow transforming the Graphics object? If so, make sure that it's back to it's initial state, when you leave your code.