Java, not Swift, a better fit for cross-platform app development