Java swing examples - Ants running around a world getting food from piles?
Posted
by Charlie
on Stack Overflow
See other posts from Stack Overflow
or by Charlie
Published on 2010-03-26T20:02:22Z
Indexed on
2010/03/26
20:23 UTC
Read the original article
Hit count: 365
I haven't done any swing programming in a while, so I'm looking for some GUI examples that are at least close to what I'm trying to do.
The gui that I'll need to be representing is small nodes (let's say ants) travelling around collecting food from food piles (which just means small nodes travelling to bigger nodes). Once the node (ant) takes a piece of food, the pile shrinks a bit and the ant takes it back home (to ANOTHER circle).
This SOUNDS pretty trivial, but all of the boilerplate involved in setting up a java GUI just makes little logical sense to me, and the GUI is such a small piece of my project. Any examples that would be great for this style of project would be greatly appreciated.
Thanks!
© Stack Overflow or respective owner