Joelle Lam

The soul...
The feeds...
The links...
Tuesday Sep 04, 2007

Embedding WebClient into Netbeans

I am not exactly sure how this will be useful yet since WebClient is built on top of Native code which brings to surface the issue between heavy-weight and light-weight components. Until that is figured out, it does look really cool.



Does anyone else think that youtube.com running in Netbeans looks really cool? And yes, the video really is playing.

Much of the code was borrowed from the WebClient sample Netbeans project, but it has been modified slightly to work in Netbeans 6.0 and open within a TopComponent. Unfortunately, this project will only work in Windows and there a little bit of work to do. This project can be modified to work on Mac, but the appropriate changes would have to be made.

  1. Download and unzip XULRunner
  2. Modify the windows environment Path to include the top level XULRunner directory.
  3. Download and unzip WebClient 2.0a9rc3
  4. Download and unzip the WebClientSuite Netbeans Suite that I created
  5. Open Netbeans (make sure to do this after setting the environment variable
  6. Open WebClientSuite and more specifically project webclient.
  7. Modify your project.properties run.args.extra property to point respectively to the unzipped zulrunner and webclient_2_0 files
Hopefully there will be more to come in this area.

Comments:

This is excellent! Yes, it will not be difficult to make this work on the Mac, provided NetBeans 6 works well on the Mac, which I'm sure it does.

As you point out, the heavyweight nature of embedding XULRunner is a problem with things like Z-ordering, but we're working on solutions to that.

Good job!

Ed

Posted by Ed Burns on September 05, 2007 at 04:34 AM PDT #

Hi,

I'm trying the same trick on Linux, but the dialog with Gtk libraries seems to be a little more difficult.

Just, do you think I get make it run on linux or not ? furthermore, it seems that the Gtk implementation is now missing in the package org.mozilla.webclient.impl.wrapper_ native ... (unlike the MAC or Win32 ones)

Thx for your help, bye!

Bapt.

Posted by Bapt on April 03, 2008 at 06:44 AM PDT #

Can you give more information about the instalation progress in Windows?

Posted by rB on April 14, 2008 at 03:59 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed