Actually, I'm using LayerManager's addLayer(categoryName,layer) which calls addLayerable(categoryName, layer) which, in turn, calls : addCategory(categoryName) Category cat = getCategory(categoryName); cat.add(0, layerable);
So, if I understant it right, it should always add layers in the same order and create the new categories at the end. 2009/6/24 Larry Becker <becker.la...@gmail.com> > Are using LayerManage's .addCategory()? > > regards, > Larry > > On Wed, Jun 24, 2009 at 5:08 AM, Julien Perret <julien.per...@gmail.com>wrote: > >> Hi guys, >> >> is there any specific way of specifying the order in which categories are >> displayed in the LayerNamePanel? >> It seems that, even when adding them (programmatically) in the same order >> twice, there are not always displayed in the same order... >> What am I doing wrong? >> >> Any hint would be appreciated. >> Thanks, >> Julien >> >> -- >> Julien Perret >> Tel (work): +33 1 43 98 84 09 >> Fax (work): +33 1 43 98 85 81 >> Mobile: +33 6 68 74 82 31 >> Email: julien.per...@gmail.com >> Homepage: http://julien.perret.googlepages.com >> Professional Homepage: >> http://recherche.ign.fr/labos/cogit/cv.php?prenom=Julien&nom=Perret >> ThinkCollabs Homepage: http://thinkcollabs.org >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> > > > -- > Larry Becker > Integrated Systems Analysts, Inc. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -- Julien Perret Tel (work): +33 1 43 98 84 09 Fax (work): +33 1 43 98 85 81 Mobile: +33 6 68 74 82 31 Email: julien.per...@gmail.com Homepage: http://julien.perret.googlepages.com Professional Homepage: http://recherche.ign.fr/labos/cogit/cv.php?prenom=Julien&nom=Perret ThinkCollabs Homepage: http://thinkcollabs.org
------------------------------------------------------------------------------
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel