workaorund for a exec:java issue with swing apps