To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=41965
                  Issue #:|41965
                  Summary:|Some Java applets do not  work properly
                Component:|udk
                  Version:|680
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|mav
              Reported by:|jl





------- Additional comments from [EMAIL PROTECTED] Thu Feb  3 03:52:27 -0800 
2005 -------
The reason for that is that java.applet.Applet.getDocumentBase() provides an
empty URL.
On the native side the URL is passed from embeddedobj into sj2:

SjApplet2_Impl::init(Window * pParentWin,
                                                  const 
css::uno::Reference<XMultiServiceFactory> & smgr,
                                                  const INetURLObject & 
rDocBase,
                                                  const SvCommandList & 
rCmdList)

sj2 loads Java classes and passes this URL on.

However, the URL (rDocBase) in SjApplet2_impl::init is empty.

You can test it with the ImageMap applet from the Java JDK. If  the Image is
displayed then it works.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to