blob: f92e485430f9f172e7e424ab63eb8c87d4cfb7fd [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001<!--
2 Copyright 1998-2006 Sun Microsystems, Inc. All Rights Reserved.
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
5 This code is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License version 2 only, as
7 published by the Free Software Foundation. Sun designates this
8 particular file as subject to the "Classpath" exception as provided
9 by Sun in the LICENSE file that accompanied this code.
10
11 This code is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 version 2 for more details (a copy is included in the LICENSE file that
15 accompanied this code).
16
17 You should have received a copy of the GNU General Public License version
18 2 along with this work; if not, write to the Free Software Foundation,
19 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20
21 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 CA 95054 USA or visit www.sun.com if you need additional information or
23 have any questions.
24-->
25
26<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
27<html>
28<body bgcolor="white">
29
30Contains all of the classes for creating user
31interfaces and for painting graphics and images. A user interface object such as a button or a
32scrollbar is called, in AWT terminology, a component. The Component class is the root of all
33AWT components. See Component for a detailed description of properties that all AWT
34components share.
35<p>
36Some components fire events when a user interacts with the components. The AWTEvent
37class and its subclasses are used to represent the events that AWT components can fire. See
38AWTEvent for a description of the AWT event model.
39<p>
40A container is a component that can contain components and other containers. A con
41tainer can also have a layout manager that controls the visual placement of components in the
42container. The AWT package contains several layout manager classes and an interface for
43building your own layout manager. See Container and LayoutManager for more information.
44<p>
45Each {@code Component} object is limited in its maximum size and
46its location because the values are stored as an integer.
47Also, a platform may further restrict maximum size and location
48coordinates. The exact maximum values are dependent on the platform.
49There is no way to change these maximum values, either in Java
50code or in native code.
51These limitations also impose restrictions on component layout.
52If the bounds of a Component object exceed a platform limit,
53there is no way to properly arrange them within a Container object.
54The object's bounds are defined by any object's coordinate
55in combination with its size on a respective axis.
56<p>
57
58<h2>Additional Specification</h2>
59<ul>
60<li><a href="doc-files/FocusSpec.html">The AWT Focus Subsystem</a>
61<li><a href="doc-files/Modality.html">The AWT Modality</a>
62</ul>
63
64<!--
65<h2>Package Specification</h2>
66
67##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT #####
68<ul>
69 <li><a href="">##### REFER TO ANY FRAMEMAKER SPECIFICATION HERE #####</a>
70</ul>
71
72<h2>Related Documentation</h2>
73
74For overviews, tutorials, examples, guides, and tool documentation, please see:
75<ul>
76 <li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a>
77</ul>
78-->
79
80@since JDK1.0
81</body>
82</html>