Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » problems in using SWT browser
problems in using SWT browser [message #465202] Thu, 08 December 2005 04:54 Go to next message
Eclipse UserFriend
Originally posted by: sibinjosk.tataelxsi.co.in

Hi all,

I am using swt browser control to open a a htm page inside eclipse
IDE.
I have an embedded applet inside htm file which communicates with a
localhost webserver running in the same machine. When I tried to open the
htm page it is opening the page nd applet is also loading , but the applet
fails to communicate with the localhost server.

When I open the htm using Internet Explorer from the filesystem it is
working
properly. Is there any limitation for the embedded browser in eclipse, or
whether we have to set any security policies to make it work.

Also,I want to know how to get the details in the java console for the
swt browser. I am using 3.0 version of eclipse.

Thanks in advance for any help.


sibin
Re: problems in using SWT browser [message #465349 is a reply to message #465202] Fri, 09 December 2005 15:24 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Running an applet inside the embedded Browser is problematic. To run the
applet you need to launch a VM but there is already a VM running in this
process (the one running eclipse) and you can't have two VMs running in the
same process.

See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=59506
https://bugs.eclipse.org/bugs/show_bug.cgi?id=92479
https://bugs.eclipse.org/bugs/show_bug.cgi?id=101740

"sibin jos" <sibinjosk@tataelxsi.co.in> wrote in message
news:56b82373338261dcdbb13be03b7a7588$1@www.eclipse.org...
> Hi all,
>
> I am using swt browser control to open a a htm page inside eclipse
> IDE.
> I have an embedded applet inside htm file which communicates with a
> localhost webserver running in the same machine. When I tried to open the
> htm page it is opening the page nd applet is also loading , but the applet
> fails to communicate with the localhost server.
>
> When I open the htm using Internet Explorer from the filesystem it is
> working
> properly. Is there any limitation for the embedded browser in eclipse, or
> whether we have to set any security policies to make it work.
>
> Also,I want to know how to get the details in the java console for the swt
> browser. I am using 3.0 version of eclipse.
>
> Thanks in advance for any help.
>
>
> sibin
>
Re: problems in using SWT browser [message #465581 is a reply to message #465202] Thu, 15 December 2005 15:50 Go to previous message
Rogerio is currently offline RogerioFriend
Messages: 1
Registered: July 2009
Junior Member
A: Applets usually don't show up in the SWT Browser. On Windows
(Internet Explorer), the Java plugin fails to run a second Java virtual
machine to execute the applet because two Java virtual machines cannot
run in the same process. On Linux (Mozilla), the Java plug-in has been
reported to work because it executes in its own process. See bug 59506 .

http://www.eclipse.org/swt/faq.php#browserplugins


Best Regards,
Rogério


sibin jos wrote:
> Hi all,
>
> I am using swt browser control to open a a htm page inside
> eclipse IDE.
> I have an embedded applet inside htm file which communicates with a
> localhost webserver running in the same machine. When I tried to open
> the htm page it is opening the page nd applet is also loading , but the
> applet fails to communicate with the localhost server.
>
> When I open the htm using Internet Explorer from the filesystem it is
> working
> properly. Is there any limitation for the embedded browser in eclipse,
> or whether we have to set any security policies to make it work.
>
> Also,I want to know how to get the details in the java console for the
> swt browser. I am using 3.0 version of eclipse.
>
> Thanks in advance for any help.
>
>
> sibin
>
Previous Topic:Problem running Snippet174 - OpenGL
Next Topic:Text Widget Width
Goto Forum:
  


Current Time: Wed Apr 24 20:40:45 GMT 2024

Powered by FUDForum. Page generated in 0.03213 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top