From:  "zhoulj@office" <zhoulj@ch2000.com.cn>
Date:  20 Feb 2004 19:42:04 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.oji
Subject:  

help: oji plugin

NNTP-Posting-Host:  61.51.141.127

Hi!
I got the kaffe mozilla plugin source
kaffeOJIPlugin.mozilla1.3.tar.gz,the kaffe source kaffe-1.1.3.tar.gz,the
mozilla source mozilla-source-1.3.tar.gz.
I've successifully compiled mozilla,kaffe and kaffe-oji-plugin.But there
is a error,start mozilla,browse a web-page embedded java applet,the java
applet has successfully show on screen, but it show on the boot screen
not the window of browser.


So far I have been using the x, y, width, and
height attributes in nsPluginWindow, but these coords are only relative
to the current Mozilla document.I don't know how to use the (nsPluginPort)nsPluginWindow->window,

And,I need transmit the nsPluginWindow  to java awt,
  example:nsPluginWindow  *pwin;
   (jint)pwin->x,(jint)pwin->y,(jint)pwin->width,(jint)pwin->height,
 I should  how to handle the nsPluginWindow->window ?

How to add the applet window into the browser window?
I work in redhat linux 7.2.
Please help me.
Thanks a lot.
Greetings
 john