Java Foundation Classes sample for "Programming Foundamentals" University course