Monday, November 21, 2011

IPT Tuesday: 22nd November 2011

1. Create an applet demo of bouncing ball in the effect of g=9.8m/s2 from a user defined height chosen by the mouse events (use anonymous inner class). In each bounce the height reduction is 20% of original one.
2. Create a demo in which a frame is changing its background continuously in random manner, along with that it is also proving you a functionality to print the series 1+1/2+1/3........n, where n would be entered using text box.
Hint: Use MultiThreading
3. Create a demo in which whenever a character has been entered in to text box it should start searching that keyword from a file and start printing the count in front of the text box.
4. Create a demo to move a ball from a very steep path, the game should get over on touching of any boundaries. Finish only when it reaches finish point without touching any of the boundary.
Use: Mouse Handing Events

No comments:

Post a Comment