Analysis and Implementation of Java AWT
- Author
- YangMinHua
- Advisor
- GuJianHua
- School
- Northwestern Polytechnical University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 285
- Citations
- 16
Abstract
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.
Table of contents
Abstract 2-3
ABSTRACT 3-4
directory 4-6
first chapter 6-11 <br / 1.1 Background the 6-8
1.2 at home and abroad Research , 8-9
1.3 papers
1.4 the organizational structure of the thesis 9-11
JAVA architecture research 11-25
2.1 JAVA virtual machine 12 - 18
2.1.1 Java virtual machine is what the 12-13 2.1.2 Java virtual machine lifecycle
13
2.1. Java virtual machine architecture 13-16
the 2.1.4 embedded Java virtual machine features 16-18
2.2 JAVA API 18-22
2.2.1 Java. lang 20-21
2.2.2 Jave. util 21
2.2.3 Java. awt 21-22
2.3 JAVA CLASS files 22-23
2.4 Summary 23-25 ??
Chapter JAVA AWT analysis 25-33
3.1 JAVA the the AWT fundamental contents the 25-27 in
3.2 JAVA analyzed 27-28
3. 3 JAVA AWT implementations 28-31
3.3.1 JDK implementations of Java AWT - entity (peer) 29-30
3. 3.2 Kaffe implementation of Java AWT - the data pointer 30-31
3.4 JAVA native method interface JNI of the 31-33
Chapter JAVAAWT the design and achieve 33-61
4.1 Why use KAFFE the 34-35
4.2 KAFFE architecture research 35-38
4. 2.1 What is the Kaffe 35-36
4.2.2 Kaffe architecture 36-38
4.3 KAFFE AWT Analysis and Design 38-40
4.4 MINIGUI graphics library 40-41
4.5 KAFFE the AWT to MINIGUI library specific realization 41-61
4.5. implementation steps 41-43
the 4.5.2 of MiniGUI characteristics and the AWT compare 43-46
4.5.2.1 of MiniGUI characteristics 43 - 45
4.5.2.2 AWT native method class 45
4.5.2.3 both compared 45-46 <br / > 4.5.3 to achieve specific process 46-55
4.5.3.1 The main data structure 46-47
4.5.3.2 Local classification of the interface functions to achieve the 4.5.4 message handling 47-55
55-61
Chapter V system installation and validation 61-65
5.1 Compilation and installation are found; 61-62
5.2 system test 62-65
Conclusion 65-67
Reference 67-69
Acknowledgements 69-70 the
Appendix A Master of the period published 70
Appendix B Master during the completion of the work 70
Appendix the C chart index are found; 70-72
Related dissertations
- Transplant based of MiniGUI Java AWT package in the ARM-Linux platform
- Research and Implementation of embedded middleware for digital TV
- Research on the Java virtual machine and the application of digital TV middleware
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Design and Implementation of Wireless Smart Home Gateway Base on ARM9
- Android-based Remote Control System for Mobile Robot
- Research and Implementation of Intelligent Regulator Based on ARM
- Android3D Game Engine Development
- Porting and Research on Android Based on CK810
- Design and Research of Video Monitoring System Based on Android
- Development of Virtual Oscilloscope Based on Android Platform
- The Design of Loader Detecting System Based on Embedded Technology
- The Design and Implementation of a Graphic Display System in Fire Control Center Based on ARM
- Research and Realization on Intelligent Safe Control System
- Network Video Surveillance System Based on AT91SAM9G20and Linux Os
- The Design and Implementation of Missing Children&Child Beggars Retrieval System Based on Face Recognition
- Design and Implementation of Embedded Multimedia Player Based on Embeded Linux
- Vehicle Alarm Composite Biological Feature Recognition System Based on ARM