for More TIMER control...
in the list of methods of the javax.swing Timer Class :
Java Platform SE 7 b97
i expect the existence of the following 2 methods (or like) :
1) void setRepeats(int SpecificTimes)
This method tells the timer to send exactlly a "Specific Number" action events to its listeners,
So the action will be executed as many times as the user needs.
2) int getDoneTimes()
When called, This method returns the number of times the Action is done (till the moment)...
Really it is nice to get such service from such Methods (or an equivalent code doing the job)
in order to control more and more the work of Timer class...
Is there an equivalent ??
(May be it exists but i don't know?!:confused:)
Thanks for any help