If you have the good fortune to use Java8, you can reduce that to a λChristian Pflugradt wrote:. . .. . .
Pete Lin wrote:
Pete Lin wrote:Hi:
I tried to change JButton background color every 2 second, but it most of the time only shows the last color, can anyone point out what I did wrong?
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Pete Lin wrote:I am extending a Thread class, and instantiate it in my actionPerformed method, below is my implementation.
Pete Lin wrote:What you mentioned is exactly what I want to do. I am changing the code to be. I have not used Timer before, I need to look it up
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Pete Lin wrote:I know how to use one timer, but how do I use 2 timers together?
Thanks
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Pete Lin wrote:I know how to use one timer, but how do I use 2 timers together?
Screaming fools! It's nothing more than a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|