Abstract Window Toolkit: Difference between revisions

Content deleted Content added
No edit summary
m Reverted edits by Umeshkrrana (talk) to last version by InternetArchiveBot
Line 2:
[[File:Easy Java AWT example.jpg|thumb|250px|Windows form with some AWT examples]]
 
The '''Abstract Window Toolkit''' ('''AWT''') is [[Java (programming language)|Java]]'s original platform-dependent [https://www.programmermart.com/jcombobox-java-tutorial/[Windowing system|windowing]], [[graphic]]s, and [[user-interface]] [[widget toolkit]] preceding [[Swing (Java)|Swing]]. The [https://www.programmermart.com/jcombobox-java-tutorial/ AWT] is part of the [[Java Foundation Classes]] (JFC) — the standard [[Application programming interface|API]] for providing a [[graphical user interface]] (GUI) for a Java program.
AWT is also the GUI toolkit for a number of [[Java Platform, Micro Edition|Java ME]] profiles. For example, [[Connected Device Configuration]] profiles require Java runtimes on [[mobile telephone]]s to support abstract window toolkit.
 
Line 28:
 
== Mixing AWT and Swing components ==
Prior to [[Java version history#Java SE 6 .28December 11.2C 2006.29|Java 6 Update 12]], mixing [https://www.programmermart.com/jcombobox-java-tutorial/[Swing (Java)|Swing]] components and basic AWT widgets often resulted in undesired side effects, with AWT widgets appearing on top of the Swing widgets regardless of their defined [[z-order]]. This problem was because the rendering architecture of the two widget toolkits was very different, despite Swing borrowing heavyweight top [[Container (data structure)#Graphic containers|containers]] from AWT.<ref>{{cite web
|url=http://java.sun.com/products/jfc/tsc/articles/mixing/index.html
|title=Mixing heavy and light components