Salut.
Je travaille avec jgraph et je veux pouvoir récuperer tous les objets du graph.Pour cela j'ai utilisé ce code:
Object[] tableauDesComposants= new Object[100];
CellView[] cells = new CellView[100];
cells = classPanel.graph.getGraphLayoutCache().getCellViews();
tableauDesComposants = classPanel.graph.getGraphLayoutCache().getCells(cells);
Le probleme que ce code ne retourne parfois tous les objets,parfois un seul objet,parfois aucun objet.
Y a t-il quelqu'un qui peut m'aider.
Merci d'avance.