AWT and Swing-Java Programming-Lecture Slides, Slides for Java Programming. Cochin University of Science and Technology

Java Programming

Description: This lecture is part of lecture series delivered by Narayan Singh for Java Programming course at Cochin University of Science and Technology. It includes: Abstract, Window, Toolkit, Swing, Cross-platform, Common, Functionality, Implementation, Foundation, Classes
Showing pages  1  -  2  of  43
AWT and Swing
Most GUI class libraries in C++ are platform specific
Different hardware capabilities
Subtle differences between the "look-and-feel" of various
Windowing operating systems
Abstract Window Toolkit (AWT) is cross-platform
Swing can observe various OS look-and-feel conventions
docsity.com
Common functionality/specific implementation approach
Toolkit -------------------------------------------------- AWT
-----------|------------
Button List JVM
| | Native GUI
Button Peer List Peer (Windows, Mac, X)
AWT GUI classes are platform-independent elements
Each AWT platform-specific toolkit comes with peer class
implementing platform-specific behavior of its AWT class
Combining platform-independent AWT class with
platform-specific peer class transforms generic, abstract windows
behavior into specific, particular behavior
docsity.com
The preview of this document ends here! Please or to read the full document or to download it.
Document information
Uploaded by: proo
Views: 1536
Downloads : 0
University: Cochin University of Science and Technology
Upload date: 07/07/2012
Embed this document:
Docsity is not optimized for the browser you're using. In order to have a better experience please switch to Google Chrome, Firefox, Internet Explorer 9+ or Safari! Download Google Chrome