Improve swing application