Hi..i have posted this problem before but i didnt get an appropriate answer..maybe i didnt explain it well enough.
i have to implement a draw method that MUST have this signature:
draw(Point p1, Point p2, Point p3, int n, JFrame, w).
I came up with this code:
Problem with this code is that it flickers when it draws the window. So can anyone help me get it working well..and at the same time adhere to the format of the draw method. Personally..i could have done this another way but it has to be in this format. Thanks for helping..javaranch has never dissappointed!!!
"Human beings can alter their lives by altering their state of mind" William James