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);
}
Object->Throwable(Serializable)->Exception->RuntimeException-> IllegalStateException->IllegalComponentStateException