From: Michael Litzkow <[EMAIL PROTECTED]>
Subject: Re: Netscape Plug-in callbacks
I finally got it to work too. As others on the list have pointed out too,
the example in the G2 SDK is just plain broken.
The problems I had to deal with were:
1. The text for "Callback.java" had lines broken in the middle of strings,
causing many syntax errors.
2. The interface specified in the ".class" files and the interface implemented
in the "Callback.java" file were different. At least 4 of the function
definitions had changed. I modified Callback.java to match what was in
the .class files.
3. I never could compile Callback.java using the supplied .class files. I
ended up converting them to text, and re-naming them .java files, then
compiling them along with callback.java. (Why not just give us Java files
in the first place? This is an interface - there's nothing to hide here.)
4. The "moz3_0.zip" file refers to Netscape version 3. For version 4 you
need a file called "java40.jar" instead.
I have one more suggestion for Real besides fixing all the problems. That
is to provide a ready to go working version of the example along with
the source you need to build it. That way people can learn what the example
does, and confirm that it's really what they're interested in before
trying to compile code. (Realize that many people will be working in a
different Java environment than you developed the code in, and may have some
level of difficulty in getting things to compile.) Once a person has
determined that the example is really of interest, they can go about the
work or learning how to reproduce it. Finally, once they know they are
building things correctly, they can go on to the modifications they're
really interested in.
cheers,
-- mike
*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites. Archives of RealForum can
be found at http://realforum.real.com
If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:
unsubscribe realforum
or from another account, besides the address you subscribed with:
unsubscribe realforum <[EMAIL PROTECTED]>