LS2J----Can I change the content of one ui,"EnterSendTo", in the java code

LS2J----Can I change the content of one ui,“EnterSendTo”, in the java code?

Thanks

Subject: See this post…

I responded to your previous post here ().

Subject: thanks, but about new java dialog, it can be modal?

hi,Richard

I have seen you “A possible approach…”. but I have an another question like it. When I open a dialog in java code using swt package.“Shell shell = new Shell(SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);” If I use LS2J. open a dialog in java code. It is no use. How to deal with it? maybe is not possible?

Thanks!

Subject: You generally don’t call Java dialogs from the Notes UI

Ze,

When I open a dialog in java code using swt package.“Shell shell = new Shell(SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);” If I use LS2J. open a dialog in java code. It is no use.

There’s no facility for calling AWT, Swing or SWT Java dialogs directly from a Notes UI context. Some interaction can be achieved with Java dialogs using LS2J but the overall effort required to do so normally doesn’t make sense compared to using the NotesUI classes.

If most of your code is already written in Java and you just need to prompt the user for a few things, use something like the DialogBox or Prompt methods of NotesUIWorkspace and then pass the results back to your Java code via LS2J.

Subject: thanks

I got it. thanks very much.