Results 1 to 6 of 6
Thread: nonLinearShots
- 05-22-2012, 12:15 AM #1
nonLinearShots
Hi,
I've been working on a program called nonLinearShots. Does anyone know how to have 15 swing timers going off at different intervals?
If you would like to see nonLinearShots, please download this zip file, create a new class in eclipse called "nonLinearShots", copy and paste the text from the txt file "nonLinearShots" after extracting the zip file into your "nonLinearShots" java file in eclipse, finally, copy and paste the images in the file to your "src" file in your workspace.
It's almost like I need a list of timers, for a list of planes that are firing every 3 seconds.Last edited by natdizzle; 05-22-2012 at 12:26 AM.
- 05-22-2012, 04:54 AM #2
Re: nonLinearShots
Construct and start() 15 Swing Timers.
By now you should know that many members won't click licks, and that for some who might, many or most hosting sites are blocked by a corporate firewall.
To get better help sooner, post a SSCCE (Short, Self Contained, Correct (Compilable), Example) that demonstrates the problem.
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.
- 05-23-2012, 12:28 AM #3
Re: nonLinearShots
I was trying to give anyone who wants it a java 2D example, the full source and images.
- 05-23-2012, 12:29 AM #4
Re: nonLinearShots
And all those swing timers are going to go off in one actionPerformed?
- 05-23-2012, 07:39 AM #5
Re: nonLinearShots
That's for you to decide.
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.
- 10-03-2013, 09:17 PM #6
Re: nonLinearShots
i sovlved this problem 8 months ago by creating a class within a class, if you want an example i also wrote a page about it at class within a class,
i ended up using EventObject (Java Platform SE 6) getsourceNathaniel Victor Nelson
Bookmarks