Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Can't dispose Input Context while it's active
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't dispose Input Context while it's active



i get the folling exception when i execute the code
myQTCanvas.removeClient();
QTSession.close();
dispose();

Exception occurred during event dispatching:
java.lang.IllegalStateException: Can't dispose InputContext while it's
active

at sun.awt.im.InputContext.dispose(InputContext.java)
at java.awt.Window$1$DisposeAction.run(Window.java)
at java.awt.Window.dispose(Window.java)
at PlayMovie.goAway(PlayMovie.java:80)
at PlayMovie$1.windowClosing(PlayMovie.java:23)
at
java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java)
at java.awt.Window.processWindowEvent(Window.java)
at java.awt.Window.processEvent(Window.java)
at java.awt.Component.dispatchEventImpl(Component.java)
at java.awt.Container.dispatchEventImpl(Container.java)
at java.awt.Window.dispatchEventImpl(Window.java)
at java.awt.Component.dispatchEvent(Component.java)
at java.awt.EventQueue.dispatchEvent(EventQueue.java)
at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java)
at java.awt.EventDispatchThread.run(EventDispatchThread.java)

Can someone please tell how i should properly dispose of this window
when i want to close it
Thanks in advance
Ryan




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.