Yes it is A list uses an object called a cell renderer to display each of its items. The default cell renderer knows how to display strings and icons and it displays Objects by invoking toString See: java.sun.com/docs/books/tutorial/uiswing....
Yes it is. A list uses an object called a cell renderer to display each of its items. The default cell renderer knows how to display strings and icons and it displays Objects by invoking toString.
The JList is a MVC based control, like the rest of Swing. You can pass the JList an object array, a string array, or a vector and then supply a ListCellRenderer to render it the objects that you passed in (by default the DefaultListRenderer is used (which is just a JLabel)). I don't know what the default behavior if you don't set a ListRender to render the object if you don't pass in strings.It's bad practice.
Easy enough to override DefaultListRenender to call Object.ToString() to be safe. See here more JList info: http://java.sun.com/products/jfc/tsc/tech%5Ftopics/jlist%5F1/jlist.html.
The JList is a MVC based control, like the rest of Swing. You can pass the JList an object array, a string array, or a vector and then supply a ListCellRenderer to render it the objects that you passed in (by default the DefaultListRenderer is used (which is just a JLabel)). I don't know what the default behavior if you don't set a ListRender to render the object if you don't pass in strings.
It's bad practice.
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.