| With Java technology uninterrupted growth, Java graphical user interface(GUI) development catches more and more attention. In order to reduce the complexity ofJava GUI design in the past, Sun introduces Synth to Swing------a skinnable of lookand feel(L&F), in JDK1.5. Designed for the non-programmers, Synth allows developers create a new L&F without writing Java codes. The Synth appearing has changed the former method of Java application L&F design: placing the design of L&F in an external XML file and removing it from the code, and the efficiency using Synth to create a complete L&F is very high.When the developers create L&F by Synth , they need to set a large number of component L&F attributes in the XML file, moreover, they must make its form and grammar conform to the stipulation of Synth DTD(Documents Type Definition). Therefore Synth is stilll not convenient for developers. This paper proposes visual L&F design solution based on the Synth, that can let the user set component L&F attributes in an interactive, simple, convenient and agile way. And users can preview design effect, and ouput XML file.This paper firstly introduces the related knowledge of XML, Java and Synth technology, then analyses the design of the visual L&F design tool. As to the system structure design, the function module design, the system configuration file structure and the system data model design, this paper has given the detailed explanation. Finally this paper gives the main implementation of this design. |