This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm creating a canvas where the user can create a diagram, so he draw some circles, links between them, etc.
The problem is that when the canvas is updated (e.g. the user moves a line) a great flickering happens. So, the closer I came up was with that code, but if a component is moved, it leaves its "trail". The latter image remains, after the component in its new position is drawn.
I've already searched in all the posts of this forum, and implemented as suggested (it's always the same resolution)... But it just don't want do work with me. Take a look at the code:
I made everything I could think. Someone can please tell me what is wrong? [ August 09, 2005: Message edited by: Jer�nimo Backes ]
The art of being crazy is to NEVER commit the crazyness of being normal.
Joined: Sep 20, 2004
Ha! I'm a lame!
The GREAT and FANTASTIC problem is solved painting the background in white and then draw.