Skip to main content

JDICPlus

14 replies [Last post]
jwwwwl
Offline
Joined: 2008-07-01
Points: 0

Hi all. JDICPlus is very nice library. Also i tested example browser included with library. It works enough good for many web sites. But when i went to www.mininova.com it loaded CPU to 100%. Have somebody some idea about resolving this problem?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tullio0106
Offline
Joined: 2004-05-13
Points: 0

Did You solve the problem ?
If yes can You tell me how ?
Tks
Tullio

tdanecito
Offline
Joined: 2005-10-10
Points: 0

He does great work but SWT was not written by him so he will try his best to help. I needed a real browser that can do odd things like run a java applet in it (Not a joke a real requirement) which SWT will not do.

Be a good test for JWebPane to see if it can run a java applet embedded in a page.
Oh yeah also a movie embeded in a page ect.

I know shoot for the sky. But hey MyUniPortal system does that now why should I settle for less??

Regards,
-Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

tdanecito
Offline
Joined: 2005-10-10
Points: 0

Good try some folks do not understand the joke concept I guess :-)

linuxhippy
Offline
Joined: 2004-01-07
Points: 0

> And i used COM, ActiveX. There was no
> problems with embedding IE in programs.

Don't forget - you used Microsoft's COM and Microsoft's ActiveX on Microsoft Windows to embed Microsoft Internet Explorer most likely you even developed with Microsoft Visual Studio. No real surprise here.
For java the whole situation is a bit different, you would like to use IE on MS windows, others maybe mozilla on Linux or Safari on OSX and everything should behave the same.

Try to see where it hangs (using a debugger) and try to get as much information to reproduce the bug as possible and then report it. Maybe you can even fix it yourself.

lg Clemens

jwwwwl
Offline
Joined: 2008-07-01
Points: 0

> > And i used COM, ActiveX. There was no
> > problems with embedding IE in programs.
>
> Don't forget - you used Microsoft's COM and
> Microsoft's ActiveX on Microsoft Windows to embed
> Microsoft Internet Explorer most likely you even
> developed with Microsoft Visual Studio. No real
> surprise here.
> For java the whole situation is a bit different, you
> would like to use IE on MS windows, others maybe
> mozilla on Linux or Safari on OSX and everything
> should behave the same.
>
> Try to see where it hangs (using a debugger) and try
> to get as much information to reproduce the bug as
> possible and then report it. Maybe you can even fix
> it yourself.
>
> lg Clemens
I have made some researching. And i see then thread with jdicWeb.dll load CPU up to 100%. I tried to compile jdicWeb.dll in VS .NET 2008 but it was not success. VS wrote that headers for jvm absent. I tried to download source of Java open source but VS can't compile also. I saw source jdicWeb.dll but i can't understand why this load CPU. Could anybody help me to compile jdicWeb.dll?

cowwoc
Offline
Joined: 2003-08-24
Points: 0

You should be able to re-arrange the headers or use #define WIN32_LEAN_AND_MEAN to make this work.

ryanh0
Offline
Joined: 2008-07-14
Points: 0

Checkout dj project http://djproject.sourceforge.net/ns/ (Hijacks some SWT stuff)
&
webrenderer.com (not free)

jwwwwl
Offline
Joined: 2008-07-01
Points: 0

> Checkout dj project
> http://djproject.sourceforge.net/ns/ (Hijacks some
> SWT stuff)
> &
> webrenderer.com (not free)

This project even worse then JDICPlust because it freeze application and sometimes cause crach of application.

shreder
Offline
Joined: 2008-07-04
Points: 0

The ideas

1. moving on MozSwing (it is Mozilla's open project)
2. update the SWT to 3.2 or later
3. update JxBrowser to 1.3
4 moving WebRenderer (it is expensive).

jerven
Offline
Joined: 2007-04-21
Points: 0

See example "hello webkit" which is included in the demos at http://trolltech.com/products/qt/features/language-support/java

This might solve your needs although do take care about licensing as always.

kirillcool
Offline
Joined: 2004-11-17
Points: 0

Not share illegally? :)

jwwwwl
Offline
Joined: 2008-07-01
Points: 0

What do you mean "share illegally"? I experimenting with Java technology. Some time before i programmed in C++. And i used COM, ActiveX. There was no problems with embedding IE in programs. But now i see that in Java i can't embedding any normal browser. I looked JRex, JxBrowser, NativeSwing Browser and last JDIC Browser. JRex dosn't work in Vista x64 and seems not supported already. JxBrowser even dosn't start. NativeSwing freezes application. Last and most stable of all is JDIC Browser. But i noticed that it load CPU up to 100% when i go to some web sites. So it seems that Java have no working browser.

kirillcool
Offline
Joined: 2004-11-17
Points: 0

It was referring to the content of Mininova site, as in joke.

jwwwwl
Offline
Joined: 2008-07-01
Points: 0

> It was referring to the content of Mininova site, as
> in joke.

Oh no! I doesn't try to advertise this site. It was only example where JDICPlus Browser load CPU 100%. For example when i go to google, yahoo, yandex, rambler, msn etc it desn't load CPU up to 100%.