Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - CHtmlView and JRE Plug-in Issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CHtmlView and JRE Plug-in Issue

 Post Reply Post Reply
Author
Message
tbrezins View Drop Down
Newbie
Newbie


Joined: 01 September 2009
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tbrezins Quote  Post ReplyReply Direct Link To This Post Topic: CHtmlView and JRE Plug-in Issue
    Posted: 01 September 2009 at 4:29pm
For quite some time we have used Docking Panes combined with CHtmlView controls to put a multi-tabbed integrated browser into our application. Sun recently introduced their "next-generation" plug-in which is enabled by default. When using our application on Vista with this plug-in no applets will load in the browser.

An older version of our application before we created the multi-tabbed setup with Docking Panes works fine. Also the MS example application which can be found here works as well. This has led us to believe the problem may lie with the Docking Panes.

This only happens on Vista, either as a standard user or when UAC is enabled. Running as administrator or running in debug it does not happen. Disabling the "next-generation" plug-in also fixes it. However due to deployment requirements for our software disabling is not a viable option. We updated to v13.1.0 hoping the problem would be fixed but it still happens.

The following is the Java Console log and the page used:
http://www.java.com/en/download/help/testvm.xml

Java Plug-in 1.6.0_12
Using JRE version 1.6.0_12 Java HotSpot(TM) Client VM
User home directory = C:\Users\Admin

Exception in thread "AWT-EventQueue-2" java.lang.InternalError: couldn't create component peer
     at sun.awt.windows.WComponentPeer.checkCreation(Unknown Source)
     at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
     at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
     at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
     at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
     at sun.awt.windows.WFramePeer.<init>(Unknown Source)
     at sun.awt.windows.WEmbeddedFramePeer.<init>(Unknown Source)
     at sun.awt.windows.WToolkit.createEmbeddedFrame(Unknown Source)
     at sun.awt.windows.WEmbeddedFrame.addNotify(Unknown Source)
     at sun.plugin2.main.client.PluginEmbeddedFrame.addNotify(Unknown Source)
     at sun.awt.windows.WEmbeddedFrame.<init>(Unknown Source)
     at sun.plugin2.main.client.PluginEmbeddedFrame.<init>(Unknown Source)
     at sun.plugin2.main.client.PluginMain$StartAppletRunner.run(Unknown Source)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)

Any help in this matter is greatly appreciated.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.