Java programs for desktop environment