Hello,
I'm new to aswing and I'm currently trying to use the JList.
By default, the cell height equal 100.
So, in the following list, all my cells height equal 100 :
var list:JList = new JList(['
http://www.google.fr', '
http://www.google.fr']);
But, it's really too high for just a link, so I've tried to set the cell's height to 30 like this :
var list:JList = new JList(['http://www.google.fr', 'http://www.google.fr'],new DefaultListTextCellFactory(DefaultListCell,true,true,30));So, this is working but
my link just disappeared (all my cells are blank) ! Please tell me what I've done wrong ?
Thanks.