[widgets] updated target platform and refactored swing applications