Go Premium for a chance to win a PS4. Enter to Win


java.lang.IllegalStateException: Can't dispose InputContext while it's active error

Posted on 2006-11-15
Medium Priority
Last Modified: 2007-12-19
Hi Experts,

I have this error when I create an applet from BDK tool. This program worked fine in the BeanBox though.

Exception during disposal:
        at java.awt.EventQueue.invokeAndWait(EventQueue.java:863)
        at java.awt.Window.dispose(Window.java:574)
        at java.awt.Dialog.disposeImpl(Dialog.java:638)
        at java.awt.Dialog.dispose(Dialog.java:634)
        at sun.beanbox.MakeAppDlg.run(MakeAppDlg.java:240)
        at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.IllegalStateException: Can't dispose InputContext while it'
s active
        at sun.awt.im.InputContext.dispose(InputContext.java:601)
        at java.awt.Window$1DisposeAction.run(Window.java:560)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:179)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


any idea?

Question by:dkim18
1 Comment
LVL 92

Accepted Solution

objects earned 2000 total points
ID: 17951270

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question