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:

#############

#############

#############

[445 byte] By [FilippoBrooklina] at [2007-10-3 11:32:49]
# 1
huh?
aniseeda at 2007-7-15 13:59:41 > top of Java-index,Java Essentials,New To Java...
# 2

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

FilippoBrooklina at 2007-7-15 13:59:41 > top of Java-index,Java Essentials,New To Java...
# 3
so you want to customize how cells are rendered?you use a cell renderer for that. http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#renderer
jsalonena at 2007-7-15 13:59:41 > top of Java-index,Java Essentials,New To Java...
# 4
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.
JoachimSauera at 2007-7-15 13:59:41 > top of Java-index,Java Essentials,New To Java...