Hi everybody!
Help me to remove this graphical artifact from JLayeredPane:
There is a simple app with drawing panel(Scene) inherited from JLayeredPane and graphical objects on it - inherited from JComponent with overridden paintComponent():
If zoom == 1.0 ( g.scale(1.0, 1.0) in Scene's paint() method ) it's OK - moving objects in scene dont lead to graphical artifacts:
But if I set zoom greater or lower than 1.0, I've got some bugs while moving objects by mouse:
How to remove this "trace"?
Thank you!