Examples for J2SE course