Menu

Code crashes after closing a JFrame

Help
2020-03-28
2020-03-31
  • Christian Ogden

    Christian Ogden - 2020-03-28

    Hello,

    I am a student trying to complete a project that uses your package. I am also relatively new to Java,.The class (attached) is instantiated by a JButton within another JFrame. When an instance is created, it runs as intended; a JWebBrowser is created and runs the desired URL. However, when I close the JWebBrowser manually, the entire code, crashes. I get an "IllegalStateException: the native interface is not open!". It also has an additional effect of closing my entire GUI, not just the JWebBrowser. I have a feeling it has something to do with the EDT, but I am unfamiliar with it. Let me know if you need additional code.

    Thanks!
    Mystic

     

Log in to post a comment.

MongoDB Logo MongoDB