PRB: JBrowser Sample Does Not Compile with Internet Explorer 5.5 (306147)
The information in this article applies to:
- Microsoft SDK for Java 3.0
- Microsoft SDK for Java 3.0 Preview 1
- Microsoft SDK for Java 3.1
- Microsoft SDK for Java 3.2
- Microsoft SDK for Java 4.0
- Microsoft Internet Explorer (Programming) 5.5
This article was previously published under Q306147 SYMPTOMS
If you build the Microsoft JBrowser sample on a system with Internet Explorer 5.5 and later, the compilation step fails with several J0063 errors. The following error message is one example of a failed build.
nmake.exe MAKEFILE<BR></BR>
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
jactivex.exe -d . C:\WINNT.1\SYSTEM32\shdocvw.dll
Microsoft ActiveX Control Importer For Java V5.00.3601
Copyright (C) 1997-1999 by Microsoft Corporation.
jvc.exe -nologo -nomessage -x- -d . *.java shdocvw\*.java
JBrowser.java(65,41) : error J0063: Declare the class abstract, or implement abstract member 'void WebBrowserEventListener.WindowSetResizable(boolean Resizable)'
JBrowser.java(65,41) : error J0063: Declare the class abstract, or implement abstract member 'void WebBrowserEventListener.WindowSetLeft(int Left)'
JBrowser.java(65,41) : error J0063: Declare the class abstract, or implement abstract member 'void WebBrowserEventListener.WindowSetTop(int Top)'
JBrowser.java(65,41) : error J0063: Declare the class abstract, or implement abstract member 'void WebBrowserEventListener.WindowSetWidth(int Width)'
JBrowser.java(65,41) : error J0063: Declare the class abstract, or implement abstract member 'void WebBrowserEventListener.WindowSetHeight(int Height)'
JBrowser.java(65,41) : error J0063: Declare the class abstract, or implement abstract member 'void WebBrowserEventListener.WindowClosing(boolean IsChildWindow, boolean[] Cancel)'
JBrowser.java(65,41) : error J0063: Declare the class abstract, or implement abstract member 'void WebBrowserEventListener.ClientToHostWindow(int[] CX, int[] CY)'
JBrowser.java(65,41) : error J0063: Declare the class abstract, or implement abstract member 'void WebBrowserEventListener.SetSecureLockIcon(int SecureLockIcon)'
JBrowser.java(65,41) : error J0063: Declare the class abstract, or implement abstract member 'void WebBrowserEventListener.FileDownload(boolean[] Cancel)'
JBrowserOpen.java(28,3) : error J0082: Class 'Dialog' doesn't have a constructor that matches 'Dialog(JBrowser, String, boolean)'
NMAKE : fatal error U1077: 'jvc.exe' : return code '0x1'
Stop.
CAUSE
The cause of this failure is an incompatibility between the sample source code and an updated event model in the browser control that was included with Internet Explorer 5.5.
RESOLUTION
To work around this problem, add event handlers for the new events. This satisfies implementation requirements for the event interface. For more information about how to modify the JBrowser.java file, see the "More Information" section.
REFERENCES
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 6/14/2006 |
---|
Keywords: | kbJava kbprb KB306147 |
---|
|