On Apr 29, 3:47 am, Kenneth McDonald <[EMAIL PROTECTED]> wrote: > Now that JRuby is available for Java, I'd very much like to be able to > do what it seems you're doing, so that I can use Gecko as a UI for an > application written in JRuby/Java. However, I'm not sure of the best way > to go about this--I haven't found any good, comprehensive examples, > build instructions, or so forth. So if you could give a summary of what > you'd done, or a "Hello world" sample application package, or pointers > to good instructions, I'd greatly appreciate it. > > JRuby is, by the way, great for implementing non-performance-critical > Java code quickly. > > Cheers, > Ken
This is what I have done. Using xulrunner1.8.1.2 I have embedded gecko in my java application.Since I run it on linux platform I create a gtk window and pass on the handle to nsIbaseWindow.InitWindow(gtk_handle ...).I use WebNavigation to load URI and then get the dom window/document for my processing. You can see the code from my previous posts in mozilla.dev.embedding. Good luck. Krithika. _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

