I now have working tests that use libGDX therefore I will continue using libGDX instead of changing to swing