Passing lotus.domino objects into a Java class -- "LS2J Error: Java constructor failed to execute"

I have the following scenario: I need to present a dialog to Notes users which displays a varying number and type (text/combo/etc) of input fields. (Which and how many fields and their UI type will be known only at runtime.) The dialog will be launched when the user clicks an Action button. The data which this dialog collects will not be stored in a Domino database, but will be uploaded via SOAP to another system.

To avoid the need for executable or jar distribution, I have decided to code this dialog in Java right in the Notes R8 IDE using only SWT UI elements, since my users will be running an R8 Standard installation, and so will be guaranteed to already have swt.jar on their systems. This part of the project is not presenting too many problems, beyond the fact that I get a non-modal (vis a vis the Notes client) dialog despite defining my Shell as SWT.APPLICATION_MODAL.

Anyway, to transfer data between the calling LotusScript code and the Java dialog, I am attempting to use a Document object like so:

JAVA CLASS IN SCRIPT LIBRARY:

import lotus.domino.*;

public class MyDialog {

private Document doc;

public MyDialog(Document inputDoc){

	this.doc = inputDoc;

}

    public boolean displayDialog () {

    ... the meat of the code ...

    }

}

LOTUSSCRIPT CALL:

<Dim and Set NotesSession, NotesDatabase, NotesDocument (as a new, unsaved document), JavaSession, JavaClass>

Set jObject = jClass.CreateObject(“(Llotus/domino/Document;)V”, doc)

But when I invoke the LotusScript statement above, I receive the error message

“LS2J Error: Java constructor failed to execute.”

I’m thinking that my constructor signature, which I made up as best I could based on the Designer help documentation, might be the problem, but I can find no examples of building signatures that refer to passing Domino object reference variables. Anyone ever done this?

TIA