How to stop repaint() flickering
问题 I am trying to make a program to java and i have the common problem with flickering. I have try many things to eliminate but all the same. while the oval that i paint is moving the japplet is flickering. i need your help to solve this problem. here is my code: import java.awt.Color; public class all extends JApplet implements Runnable { double x=0; double y=0; int m=0; int n=0; int f=30; int μ=0; Thread kinisi; JPanel panel; JFrame frame; private boolean running = false; private JTextField