hello,
i have written a sample program in which i have drawn buttons as triangle, rectangle,polygon.now the problem is when i rum the program nothing get paint first but when i move trackwheel up and down then buttons get paint .
please can any one tell what should be the problem.