![]() |
Languages »
Other .NET Languages »
J# .NET
Intermediate
J# Browser ControlsBy Lars-Inge TønnessenA short article on how to compile J# Browser Controls |
Windows, .NETVS.NET2003, IE 6.0, IE 5.5, Dev
|
|
Advanced Search |
|
|
|
||||||||||||||||

Client computers
The latest J# Browser Controls version has support for offline viewing, which is nice for debugging on your local computer. This will allow you to view the web pages locally without running them through a web server.
The converting steps are done very quickly if the source Java Applet is written in the supported JDK 1.1.4 API. Here are the steps:
C:\...\>vjc.exe /target:library /out:Applet.dll *.java
Hopefully you did not get any errors, only a Applet.dll library file.
<OBJECT CLASSID="clsid:a399591c-0fd0-41f8-9d25-bd76f632415f"
WIDTH=300 HEIGHT=110
ID=SkidPad
VJSCODEBASE = "Applet.dll#skidpad" >
</OBJECT>
The CLASSID tag references the ActiveX control that runs the J# Browser Control. Do not edit this ID. If you edit this ID tag the J# Browser Control will not work.
WIDTH and HEIGHT are the size in pixels.
VJSCODEBASE references the URL where the Browser Control is located and which class the applet lives in. "Applet.dll#skidpad" tells us the Applet.dll is located in the same directory as the html-file, and the "applet" is located in the skidpad class.
| You must Sign In to use this message board. | |||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 14 Nov 2004 Editor: Nishant Sivakumar |
Copyright 2004 by Lars-Inge Tønnessen Everything else Copyright © CodeProject, 1999-2009 Web09 | Advertise on the Code Project |