Results 1 to 2 of 2
  1. #1
    raviraj is offline Member
    Join Date
    Sep 2014
    Posts
    6
    Rep Power
    0

    Arrow Applet's parent container

    Hi,

    I have created one applet program. It is working fine in Java1.6. But in java 1.7 I am getting below error Messages in Console.kindly let me know if any one fixed this issues. Thanks for your kind help.

    Exception in thread "AWT-EventQueue-3" java.lang.IllegalStateException: Applet's parent container not set up
    at sun.plugin2.applet.Plugin2Manager.start(Unknown Source)
    at sun.plugin2.main.client.PluginMain$StartAppletRunn er.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)


    Thanks & Regards,
    raviraj

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: Applet's parent container

    Which specific version of Java 7? Make sure it is updated properly, as there was a bug relating to this exception that has been fixed in update 21:

    https://bugs.openjdk.java.net/browse/JDK-2229371


    EDIT:

    I neglect to mention how I got to that: I don't know all bugs from memory, I simply Googled the error you got, "java.lang.IllegalStateException: Applet's parent container not set up". I have complete faith in the fact that you're not the first one to run into such a problem since Java is still used by a gigantic amount of people, and thus multiple people already described the problem and it was discussed before. All you have to do is find it. Googling the error is a good start.
    Last edited by gimbal2; 11-17-2014 at 03:39 PM.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 1
    Last Post: 08-19-2013, 06:06 AM
  2. Set visibility of parent Container
    By mwr1976 in forum AWT / Swing
    Replies: 2
    Last Post: 04-14-2012, 02:37 AM
  3. Help with adding a Container within a Container
    By JoKeR313 in forum New To Java
    Replies: 4
    Last Post: 01-02-2011, 04:59 AM
  4. Applet as container .
    By pawankumarom in forum Java Applets
    Replies: 5
    Last Post: 04-23-2009, 06:17 AM
  5. Replies: 3
    Last Post: 04-21-2009, 11:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •