Java in a Nutshell

Previous Chapter 18
The java.awt Package
Next
 

18.31 java.awt.IllegalComponentStateException (JDK 1.1)

This exception signals that an AWT component is not in the appropriate state (for example, it hasn't been added to a container yet or is currently hidden) for some requested operation.

public class IllegalComponentStateException extends IllegalStateException {
    // Public Constructors
            public IllegalComponentStateException();
            public IllegalComponentStateException(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException-> IllegalStateException->IllegalComponentStateException


Previous Home Next
java.awt.GridLayout (JDK 1.0) Book Index java.awt.Image (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java