Timer « Graphics « Java Swing Q&A





1. Swing Timer with Graphics component    stackoverflow.com

I want to creat a circle in on a panel which appears and dissapears every 2 seconds. Here is that i have:

public class Board extends JPanel implements ActionListener {

    ...