简体   繁体   中英

control web browsers using java program

I have an application written using C#.
it controls the browsers
it allows which pages to view and not to view and also it hides the address bar of IE.
I want to convert it to Java.
But I really dont know what API to use etc... .
can someone guide me for that.

thank you

试试这个: http ://watij.com/它是基于watir的ruby和基于watin的c#。

You can try

OSS: Native Swing: http://djproject.sourceforge.net/ns/

Commercial: ICEBrowser http://www.icesoft.org/

I'm assuming that you were able to "control the browser" with C# using the Microsoft WebBrowser class, right? The WebBrowser uses ActiveX to control Internet Explorer ( http://msdn.microsoft.com/en-us/library/w290k23d.aspx )

If that is the case, for you to do the same, you need some way to connect Java and the ActiveX control. From what I could find on google, this might be your best bet:

Java COM ActiveX Bridge: http://j-integra.intrinsyc.com/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM