Im creating an aplication to Nokia XpressMusic smartphone. Ive created a CustomItem descendant called CommandButtom. Its worked perfectly on the emulator but not in the real thing.
To simplify my application, I created a class called Navigator that store all forms (2 forms now) and have methods like next(), previous() etc and its set automatically the Display to the corresponding Form. I dont know why, but since Im using this Navigator Class, the problem occurs. My CommandButtom is not correctly painted and display only a white rectangle.
Bellow my CommandButtom class to you guys see what Im doing wrong:
Please, I need to know what is wrong.
Java is the best (I love C too) heehhh
Walter Gabrielsen Iii
posted 5 years ago
Do you use the "setClip" method of Graphics class?
Do you first set the color before drawing each shape in the paint methods?