I am currently working on this program (as attached) and would appreciate if anyone could advice me on some of the issues.
This program actually allows you to control the movement of the ball (bitmap) by using timers. It consists of a control panel that enables you to control the ball movement direction and speed.
Some issues faced are:
1) When I click on start/stop, minimize the main window and restore it, the bitmap is gone.
2) When the control panel moves over the bitmap, it disappears.
3) Hot-keys doesn't work with the control panel (IE: on keypress "w", the ball should move upwards direction etc).
4) How can I center the bitmap on launching the application? (I have tried to put it on the onCreate() handler but when the main window is maximize, it doesn't seem proportion).
Thanks in advance