Defines the AWT and Swing user interface toolkits, plus APIs for accessibility, audio, imaging, printing, and JavaBeans.
The documentation in this module includes links to external overviews, tutorials, examples, guides, media format specifications, and other similar documentation. These links are meant to be informative to the reader and nothing more. Information at these external resources, no matter the hosting or the author, is not part of Java Platform API specification unless explicitly stated to be so.
Exports Package Description java.appletProvides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. java.awtContains all of the classes for creating user interfaces and for painting graphics and images. java.awt.colorProvides classes for color spaces. java.awt.desktopProvides interfaces and classes for interaction with various desktop capabilities. java.awt.dndDrag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. java.awt.eventProvides interfaces and classes for dealing with different types of events fired by AWT components. java.awt.fontProvides classes and interface relating to fonts. java.awt.geomProvides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry. java.awt.imProvides classes and interfaces for the input method framework. java.awt.im.spiProvides interfaces that enable the development of input methods that can be used with any Java runtime environment. java.awt.imageProvides classes for creating and modifying images. java.awt.image.renderableProvides classes and interfaces for producing rendering-independent images. java.awt.printProvides classes and interfaces for a general printing API. java.beansContains classes related to developing beans -- components based on the JavaBeans architecture. java.beans.beancontextProvides classes and interfaces relating to bean context. javax.accessibilityDefines a contract between user-interface components and an assistive technology that provides access to those components. javax.imageioThe main package of the Java Image I/O API. javax.imageio.eventA package of the Java Image I/O API dealing with synchronous notification of events during the reading and writing of images. javax.imageio.metadataA package of the Java Image I/O API dealing with reading and writing metadata. javax.imageio.plugins.bmpPackage containing the public classes used by the built-in BMP plug-in. javax.imageio.plugins.jpegClasses supporting the built-in JPEG plug-in. javax.imageio.plugins.tiffPublic classes used by the built-in TIFF plug-ins. javax.imageio.spiA package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. javax.imageio.streamA package of the Java Image I/O API dealing with low-level I/O from files and streams. javax.printProvides the principal classes and interfaces for the Java Print Service API. javax.print.attributeProvides classes and interfaces that describe the types of Java Print Service attributes and how they can be collected into attribute sets. javax.print.attribute.standardPackage
javax.print.attribute.standardcontains classes for specific printing attributes.
javax.print.eventcontains event classes and listener interfaces.
javax.sound.midiProvides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. javax.sound.midi.spiSupplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers. javax.sound.sampledProvides interfaces and classes for capture, processing, and playback of sampled audio data. javax.sound.sampled.spiSupplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters. javax.swingProvides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. javax.swing.borderProvides classes and interface for drawing specialized borders around a Swing component. javax.swing.colorchooserContains classes and interfaces used by the
javax.swing.eventProvides for events fired by Swing components. javax.swing.filechooserContains classes and interfaces used by the
javax.swing.plafProvides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. javax.swing.plaf.basicProvides user interface objects built according to the Basic look and feel. javax.swing.plaf.metalProvides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel. javax.swing.plaf.multiProvides user interface objects that combine two or more look and feels. javax.swing.plaf.nimbusProvides user interface objects built according to the cross-platform Nimbus look and feel. javax.swing.plaf.synthSynth is a skinnable look and feel in which all painting is delegated. javax.swing.tableProvides classes and interfaces for dealing with
javax.swing.textProvides classes and interfaces that deal with editable and noneditable text components. javax.swing.text.htmlProvides the class
HTMLEditorKitand supporting classes for creating HTML text editors.
javax.swing.text.html.parserProvides the default HTML parser, along with support classes. javax.swing.text.rtfProvides a class (
RTFEditorKit) for creating Rich-Text-Format text editors.
javax.swing.treeProvides classes and interfaces for dealing with
javax.swing.undoAllows developers to provide support for undo/redo in applications such as text editors.
Requires Modifier Module Description transitive java.datatransferDefines the API for transferring data between and within applications. transitive java.xmlDefines the Java API for XML Processing (JAXP), the Streaming API for XML (StAX), the Simple API for XML (SAX), and the W3C Document Object Model (DOM) API.
Uses Type Description AccessibilityProviderService Provider Interface (SPI) for Assistive Technology. AudioFileReaderProvider for audio file reading services. AudioFileWriterProvider for audio file writing services. FormatConversionProviderA format conversion provider provides format conversion services from one or more input formats to one or more output formats. ImageInputStreamSpiThe service provider interface (SPI) for
ImageOutputStreamSpiThe service provider interface (SPI) for
ImageReaderSpiThe service provider interface (SPI) for
ImageTranscoderSpiThe service provider interface (SPI) for
ImageWriterSpiThe service provider interface (SPI) for
InputMethodDescriptorDefines methods that provide sufficient information about an input method to enable selection and loading of that input method. MidiDeviceProviderA
MidiDeviceProvideris a factory or provider for a particular type of MIDI device.
MidiFileReadersupplies MIDI file-reading services.
MidiFileWritersupplies MIDI file-writing services.
MixerProviderA provider or factory for a particular mixer type. PrintServiceLookupImplementations of this class provide lookup services for print services (typically equivalent to printers) of a particular type. SoundbankReaderA
SoundbankReadersupplies soundbank file-reading services.
StreamPrintServiceFactoryis the factory for
StreamPrintServiceinstances, which can print to an output stream in a particular document format described as a mime type.