Application as act365 wrote it. Changed layout of code to follow coding standard.
Changed from Vector to ArrayList.