Abstract:In this paper, the design idea and implementation method of a graphical user interface editor(GUIEditor) used to specify and generate the user interface which has the rehearsal function is introduced. The usage of dialogue control tree and input data arrays in the separation of the user interface from the application is described. Finally, the dialogue control word interpretation program based on the event-driven mechanism is discussed.