JList item : changing the vertical alignement?

As a hack maybe you can play with the Border of the JList. When the list is empty you size the Border to take up all the space of the list. When you add a row you decrease the Border.

Top insets by the row size.

Changing the Border size according to the number of elements in the list works, I just had to add a ListDataListener to react to any change in the model. I'm still struggling with window resizing though : I haven't found a way to correctly adapt the border size when the window displaying the list is being resized. – Jérôme Nov 27 '09 at 7:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions