hi
I have problem passing elements from a stack to paint method.
the problem is am poping elements from 2 stacks in main method and passing them to paint method and considering the elements from 1st stack as x coordinate and elements from 2nd stack as y coordinate and need to draw a ellipse on the window using these elements. my prob is while pasing them from main method to paint method the values are changing as null and am unable to pass them to paint method inspite of declaring them as global. can anyone help me in solving this.
sowjanya