Re: Embedding Mozilla in Java App under Linux

Michal Ceresna <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <200612111221.45270.michal.ceresna__33327.0134441138$1165836220$gmane$org@gmail.com>
On Monday 11 December 2006 11:22 am, JM wrote:

Hello,

> The document on embedding Mozilla in a Java application says "// Note,
> on linux, gtk has to be already initialized for this code to work". Can
> anyone tell me how to initialise gtk from Java please?
This is still an open bug :-(
https://bugzilla.mozilla.org/show_bug.cgi?id=342691

The hack I've used to get it running was to include the SWT library, 
create a new 'Shell' and then close it.

Michal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.