Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Swing toolkit to build Java GUI

I'm about to start a project where I will be building a road network simulator. The program will in terms of the GUI, be in 2D so basically a top down view of roads with simple moving cars etc.

I do have some experience with Swing , and I've used it to build a simulator before but not in the sense of providing an actual animation of moving objects etc. Hence, my question is, do you recommend using swing for such a project, or is there other possibilities which will be more suited for this type of application? I don't know too much about other toolkits, but the main reason I ask is to make sure that swing does not limit me in any way from what I need to achieve.

like image 882
Force444 Avatar asked Sep 10 '26 20:09

Force444


1 Answers

There's nothing wrong with using Swing for this purpose. There are a number of excellent open source animation API's that will make you're life a lot easier.

  • TimingFramework
  • Trident

You'll have evaluate each of these yourself to see which will meet your requirements.

like image 90
MadProgrammer Avatar answered Sep 12 '26 10:09

MadProgrammer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!