Vote count:
0
I use Vaadin 7. I tried to change the component's icon with the following code :
Tree tree = new Tree("The Planets and Major Moons");
tree.setIcon(new ThemeResource("img/inode-directory.png"));
.... //here I fill the tree
When I run the application I still get the same icon (default icon) of Vaadin Tree. Is there something that I forgot to add?
asked 3 mins ago
Aucun commentaire:
Enregistrer un commentaire