added sample component and jframe call in program.java