| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| java.awt.dnd | Drag 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.nio | Defines buffers, which are containers for data, and provides an overview of the
other NIO packages. | 
| java.nio.channels | Defines channels, which represent connections to entities that are capable of
 performing I/O operations, such as files and sockets; defines selectors, for
 multiplexed, non-blocking I/O operations. | 
| java.nio.file | Defines interfaces and classes for the Java virtual machine to access files,
 file attributes, and file systems. | 
| java.util | Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array). | 
| java.util.concurrent | Utility classes commonly useful in concurrent programming. | 
| javax.crypto | Provides the classes and interfaces for cryptographic operations. | 
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| javax.xml.bind | 
        Provides a runtime binding framework for client applications including
        unmarshalling, marshalling, and validation capabilities. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | IllegalComponentStateExceptionSignals that an AWT component is not in an appropriate state for
 the requested operation. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SplashScreen. close()Hides the splash screen, closes the window, and releases all associated
 resources. | 
| Graphics2D | SplashScreen. createGraphics()Creates a graphics context (as a  Graphics2Dobject) for the splash
 screen overlay image, which allows you to draw over the splash screen. | 
| Rectangle | SplashScreen. getBounds()Returns the bounds of the splash screen window as a  Rectangle. | 
| URL | SplashScreen. getImageURL()Returns the current splash screen image. | 
| Dimension | SplashScreen. getSize()Returns the size of the splash screen window as a  Dimension. | 
| void | SplashScreen. setImageURL(URL imageURL)Changes the splash screen image. | 
| void | SplashScreen. update()Updates the splash window with current contents of the overlay image. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | InvalidDnDOperationExceptionThis exception is thrown by various methods in the java.awt.dnd package. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | InvalidMarkExceptionUnchecked exception thrown when an attempt is made to reset a buffer
 when its mark is not defined. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AcceptPendingExceptionUnchecked exception thrown when an attempt is made to initiate an accept
 operation on a channel and a previous accept operation has not completed. | 
| class  | AlreadyBoundExceptionUnchecked exception thrown when an attempt is made to bind the socket a
 network oriented channel that is already bound. | 
| class  | AlreadyConnectedExceptionUnchecked exception thrown when an attempt is made to connect a  SocketChannelthat is already connected. | 
| class  | CancelledKeyExceptionUnchecked exception thrown when an attempt is made to use
 a selection key that is no longer valid. | 
| class  | ClosedSelectorExceptionUnchecked exception thrown when an attempt is made to invoke an I/O
 operation upon a closed selector. | 
| class  | ConnectionPendingExceptionUnchecked exception thrown when an attempt is made to connect a  SocketChannelfor which a non-blocking connection operation is already in
 progress. | 
| class  | IllegalBlockingModeExceptionUnchecked exception thrown when a blocking-mode-specific operation
 is invoked upon a channel in the incorrect blocking mode. | 
| class  | NoConnectionPendingExceptionUnchecked exception thrown when the  finishConnectmethod of aSocketChannelis invoked without first
 successfully invoking itsconnectmethod. | 
| class  | NonReadableChannelExceptionUnchecked exception thrown when an attempt is made to read
 from a channel that was not originally opened for reading. | 
| class  | NonWritableChannelExceptionUnchecked exception thrown when an attempt is made to write
 to a channel that was not originally opened for writing. | 
| class  | NotYetBoundExceptionUnchecked exception thrown when an attempt is made to invoke an I/O
 operation upon a server socket channel that is not yet bound. | 
| class  | NotYetConnectedExceptionUnchecked exception thrown when an attempt is made to invoke an I/O
 operation upon a socket channel that is not yet connected. | 
| class  | OverlappingFileLockExceptionUnchecked exception thrown when an attempt is made to acquire a lock on a
 region of a file that overlaps a region already locked by the same Java
 virtual machine, or when another thread is already waiting to lock an
 overlapping region of the same file. | 
| class  | ReadPendingExceptionUnchecked exception thrown when an attempt is made to read from an
 asynchronous socket channel and a previous read has not completed. | 
| class  | ShutdownChannelGroupExceptionUnchecked exception thrown when an attempt is made to construct a channel in 
 a group that is shutdown or the completion handler for an I/O operation 
 cannot be invoked because the channel group has terminated. | 
| class  | WritePendingExceptionUnchecked exception thrown when an attempt is made to write to an
 asynchronous socket channel and a previous write has not completed. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClosedDirectoryStreamExceptionUnchecked exception thrown when an attempt is made to invoke an operation on
 a directory stream that is closed. | 
| class  | ClosedFileSystemExceptionUnchecked exception thrown when an attempt is made to invoke an operation on
 a file and the file system is closed. | 
| class  | ClosedWatchServiceExceptionUnchecked exception thrown when an attempt is made to invoke an operation on
 a watch service that is closed. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | FormatterClosedExceptionUnchecked exception thrown when the formatter has been closed. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CancellationExceptionException indicating that the result of a value-producing task,
 such as a  FutureTask, cannot be retrieved because the task
 was cancelled. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | Mac. doFinal()Finishes the MAC operation. | 
| byte[] | Mac. doFinal(byte[] input)Processes the given array of bytes and finishes the MAC operation. | 
| void | Mac. doFinal(byte[] output,
       int outOffset)Finishes the MAC operation. | 
| Key | KeyAgreement. doPhase(Key key,
       boolean lastPhase)Executes the next phase of this key agreement with the given
 key that was received from one of the other parties involved in this key
 agreement. | 
| protected abstract Key | KeyAgreementSpi. engineDoPhase(Key key,
             boolean lastPhase)Executes the next phase of this key agreement with the given
 key that was received from one of the other parties involved in this key
 agreement. | 
| protected abstract byte[] | KeyAgreementSpi. engineGenerateSecret()Generates the shared secret and returns it in a new buffer. | 
| protected abstract int | KeyAgreementSpi. engineGenerateSecret(byte[] sharedSecret,
                    int offset)Generates the shared secret, and places it into the buffer
  sharedSecret, beginning atoffsetinclusive. | 
| protected abstract SecretKey | KeyAgreementSpi. engineGenerateSecret(String algorithm)Creates the shared secret and returns it as a secret key object
 of the requested algorithm type. | 
| byte[] | KeyAgreement. generateSecret()Generates the shared secret and returns it in a new buffer. | 
| int | KeyAgreement. generateSecret(byte[] sharedSecret,
              int offset)Generates the shared secret, and places it into the buffer
  sharedSecret, beginning atoffsetinclusive. | 
| SecretKey | KeyAgreement. generateSecret(String algorithm)Creates the shared secret and returns it as a  SecretKeyobject of the specified algorithm. | 
| byte[] | ExemptionMechanism. genExemptionBlob()Generates the exemption mechanism key blob. | 
| int | ExemptionMechanism. genExemptionBlob(byte[] output)Generates the exemption mechanism key blob, and stores the result in
 the  outputbuffer. | 
| int | ExemptionMechanism. genExemptionBlob(byte[] output,
                int outputOffset)Generates the exemption mechanism key blob, and stores the result in
 the  outputbuffer, starting atoutputOffsetinclusive. | 
| int | ExemptionMechanism. getOutputSize(int inputLen)Returns the length in bytes that an output buffer would need to be in
 order to hold the result of the next
  genExemptionBloboperation, given the input lengthinputLen(in bytes). | 
| void | Mac. update(byte input)Processes the given byte. | 
| void | Mac. update(byte[] input)Processes the given array of bytes. | 
| void | Mac. update(byte[] input,
      int offset,
      int len)Processes the first  lenbytes ininput,
 starting atoffsetinclusive. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TransferHandler. exportToClipboard(JComponent comp,
                 Clipboard clip,
                 int action)Causes a transfer from the given component to the
 given clipboard. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | UnmarshallerHandler. getResult()Obtains the unmarshalled result. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2012, Oracle and/or its affiliates.  All rights reserved.