In ubiquitous computing environments, we will access various devices and appliances from a variety of mobile devices such as mobile phones, PDAs and wearable devices. However, we need to reuse existing interactive applications that adopt traditional GUI toolkits that assume to use mouses and keyboards, and these applications should be operated from the mobile interaction devices. Our approach enables us to use existing GUI-based interactive applications although a variety of interaction devices can be adopted to control the applications. Therefore, the approach allows us to use traditional GUI toolkits to build ubiquitous computing applications that choose appropriate interaction devices dynamically. The paper describes the design and implementation of our middle-ware to realize the approach. We also present some examples to show the effectiveness of our approach.