Font Size: a A A

Analysis And Implementation Of Java Awt

Posted on:2006-11-22Degree:MasterType:Thesis
Country:ChinaCandidate:M H YangFull Text:PDF
GTID:2208360152982382Subject:Computer software and theory
Abstract/Summary:
With the background of the National 863 High Tech Program (863 Program) 'Research on DTV-oriented Embedded Middleware', this paper mainly focuses on the further research of Java AWT among them. In this paper, the position and function of Java AWT in the model of the DTV middleware has been briefly introduced. The system structure of Java has also been studied. On the basis of analyzing the implementation mechanism of Java AWT especially, the paper has presented a scheme porting Kaffe AWT to MiniGUI Graphic library and has offered a complete implementation on embedded Linux platform.The paper presents the complete process of project research including proposition, analysis, design, coding, test and implementation, etc. Main research contents and achievements are spread out as follows:1. The system structure of Java has been given further research. Especially, the composition structure of Java API and implementation mechanism of Java VM have been analyzed. These are basic content of the project.2. The paper has detailedly analyzed the important part in the design of JavaGUI program--AWT and the concrete function of every component aswell as the relation of hierarchical structure of different component. At the same time, each method adopted implementing AWT in JDK and in Kaffe has been especially discussed and their pluses and minuses has been pointed out.3. Through analyzing and according to the needs of reality of the project,embedded Java virtual machine --Kaffe, which is open source, has beenchosen as research platform of the project. A scheme, porting the Kaffe AWT to an embedded graphic library MiniGUI, has been proposed on the basis of analyzing the system structure and implementation method of Kaffe AWT. The implementation way in the scheme has an analogy to Win32, which has already fully utilized resources in the graphic library of low-level and can also enhance efficiency.4. The paper has analyzed the interrelation between Kaffe AWT and low-level graphic library as well as the module and interface offered by MiniGUI. On the basis of which, the concrete process of porting Kaffe AWT to MiniGUI has been dissertated in detail. The implementation mode of messages has been discussed principally. The experimental results prove that the result of graphics running is good on the new system adopting the scheme. The necessary functions have been implemented basically.
Keywords/Search Tags:DTV Middleware, AWT, JNI, Embedded JVM, Kaffe, MiniGUI
Related items