Forum@carlsbadcubes.com wrote: > If this becomes a concern - and it sometimes really can - then you can > just do the mapping yourself, inside the client class, where you don't > have to consider just public members anymore. > > The SwingEngine gives you access to the idmap.: > > Map getIdMap() > Returns the id map, containing all id-ed parsed GUI components. > > For convenience, there is also the getIdComponentIterator: > Iterator getIdComponentItertor() > Returns an Iterator for id-ed parsed GUI components. > > and in case you just need to map a few known ids, you can simply use > the find method: > > Component find(String id) > Returns the UI component with the given name or null.
Indeed is this approach so natural and convenient I did not know the possibility through public fields (except for actions). Frank