transition from awt to swing as far as possible