![]() |
syntactic unit > scoping unit > package > javax.swing |
![]() ![]() | ||||
javax.swing | ||||
subject | fact |
javax.swing | is a subtopic of Example Packages | ![]() |
is an instance of package | ![]() | |
is part of Java's application programming interface | ![]() | |
provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms | ![]() | |
was called java.awt.swing in Java 1.1 | ![]() | |
package | can be imported | ![]() |
can be imported by using the import statement ![]() | ![]() | |
contains 0 or more classes and 0 or more interfaces | ![]() | |
defines a name space ![]() | ![]() | |
groups classes or interfaces by function | ![]() | |
has a name | ![]() | |
has purpose
| ![]() | |
has purpose to group together related classes into a subsystem ![]() | ![]() | |
is specified by a file that begins with a package statement | ![]() | |
is stored as a set of class files in a directory | ![]() | |
see also package name | ![]() | |
to create you put a class in it or put an interface in it by putting a package statement at the top of the source file in which the class or interface is defined | ![]() | |
to import you use the import statement with the asterisk wildcard character | ![]() | |
syntactic unit | has syntax rule bold = mandatory | ![]() |
Next package: default package Up: package Previous package: java.util