クラスjava.awt.IllegalComponentStateException
の使用