My list isnt showing elements, i can see a tiny scrollbar so i know theyre there, when i select my code tells me ive selected one too, but how do i get them to show? the list is only containing one item if that matters..
There are lots of reasons this can occur from a race condition in the creation of the list to a renderer that doesn't contain any of the content to match the model. You need to provide more information about this and how to reproduce it so we can help you.
Hi, I managed to fix it by giving it one empty element at creation time in the editor, it shows 1 empty entry but atleast when i populate it, it all looks perfect..
The list just asks for a too small preferred size. You can also define a prototype value for it.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.