Skip to main content

Missing classes (IBrowserEngine and BrowserEngineManager)

7 replies [Last post]
gabiapf
Offline
Joined: 2006-07-13

I'm using the latest version of JDIC from the downloadable release list, and I checked the FAQ to find out how to choose a broswer, but the example on the FAQ uses classes my JDIC release doesn't have: IBrowserEngine and BrowserEngineManager. Were those classes left out of the latest release for some reason? If so, what's the new way to choose a browser? Otherwise, how can I get those classes?

Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
michael_shan
Offline
Joined: 2005-05-29

Hi,
That's new feature. You can get it after build 20060308.

gabiapf
Offline
Joined: 2006-07-13

Ah, thank you. :)

kamal_chikh
Offline
Joined: 2009-07-02

Dear all,

I Have probleme to use JDIC with firefox 3.0. To force the browser to IE (with IE it's OK), we must use BrowserEngineManager and... But I didn't found this class in the jdic jar.

if someone can help me to send me the link to download the correct jar that contains the class BrowserEngineManager.

Thanks.

kamal_chikh
Offline
Joined: 2009-07-02

Thank you all,

I found solution. I integrate [b]jdic-20061102-bin-win [/b]package and every thing works now. I also, add :

[i] if(engine == null || !BrowserEngineManager.IE.equals(engine.getBrowserName()))
BrowserEngineManager.instance().setActiveEngine(BrowserEngineManager.IE);[/i]

befor calling the WebBrowser constructor to force the browser to IE. Because JDIC didn't work with FireFox 3.0

I use JDIC to integrate a web page and a flash file (game) inside a Swing component. If someone want a code plase write me to : del.kamal@hotmail.fr.
_______________________
kamal chikh echioukh

rm2000
Offline
Joined: 2009-06-22

Hey

I am working on an application using JDIC. I downloaded the latest crossplatform build from the JDIC site but it doesnt have the BrowserEngineManager and IBrowserEngine class. I see that you found a solution to this problem. Can you tell me how you integrated the jdic-20061102-bin-win package. I would really appreicate your help on this.

Thanks

rm2000

kamal_chikh
Offline
Joined: 2009-07-02

Hello,

I found the solution by following those steps:

1- I create a folder “lib” inside the swing application folder.
2- I extract the folder jdic-20061102-bin-win from it’s package.
3- I put the [b]all[/b] the extracted folder inside the lib folder I created
4- In the Java Build Path of the application, I add the jar “jdic.jar” witch is inside lib/ jdic-20061102-bin-win/windows

And every thing gone OK.

Please tell me, if it’s ok for you too.

_________________________________
Kamal Chikh echioukh

rm2000
Offline
Joined: 2009-06-22

Hey thanks for the quick reply. Just wanted to check one more thing. After going through this process were you able to successfully deploy your application using Java Web Start?