I have use a Jframe, JPanel made a program which is a countdown Timer. Everything is working good. Now, what I want to do is to duplicate it as 10 replicas. That means I want to 10 countdown Timer in one GUI. Is there any way can do it without write same code 10 times? Please help
You can use some design patterns
For more info see this java composite pattern, java prototype pattern