- * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
*\r
* This program is free software; you can redistribute it and/or\r
* modify it under the terms of the GNU General Public License\r
*\r
* This program is free software; you can redistribute it and/or\r
* modify it under the terms of the GNU General Public License\r
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
*/\r
\r
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
*/\r
\r
- components.removeElement(c);\r
+ Vector vcoms = new Vector();\r
+ vcoms.addElement(comp);\r
+ components.put(al, vcoms);\r
- Enumeration e = components.elements();\r
- while (e.hasMoreElements())\r
+ Vector coms = (Vector)components.get(al);\r
+ Enumeration e = coms.elements();\r
+ while( e.hasMoreElements() )\r