No offense, but Swing shouldn't cause such issues. Might want to check the documentation again. Mind if I ask why you chose Java in the first place?
That is the only language i can say i know apart from the old Fortran77.
Java as a GUI featuring language and its ability to make objects and then even return objects back from a method, just amazes me.
How i see is you define your own objects to meet your needs...
Are there any platforms, you might suggest i try & learn.
I know i am no Carmack, and will not go near to making an Engine.
Thank you for your interest.
PS: Java did another strange thing before: it did not accept dot notation but comma notation in the input of doubles.
Also when it is Strings, and you do reference a String in a method. It remains unchanged when bacj from the method.
I cannot say deficiencies as i am a mere programmer. But Java has some let downs. I know...
Have you checked my " Floating Numbers Base Converter " i was the only one from my country to have it as an applet when ultrastudio.org was functional.
Just cut-the-knot owner has such an applet. Not many have invested time on that subject.