Popup Window with Java in Notes

Hello,just one very simple question to the Java Gurus. Is there any possibility to implement a popup window in a Java agent runnung localy ?

Thanx Martin

Subject: Yes!

Hi

Yes you can …and I did.

“Swing is your friend” :slight_smile:

I’m planning to write an article about it, but I’m very busy at the moment so it is being postponed a bit.

regards

Jesper Kiaer

http://www.jezzper.com

Subject: Popup Window with Java in Notes

Java classes in Notes are all backend classes so no it is not possible to implement a pop-up window. One of the things I have done is to have an agent call a Java agent and then a LotusScript agent afterward. The Java agent would either write to a profile doc or an environment variable and then when the LotusScript agent started it would check to see if any data is available and include in a pop-up.

Hope that helps,

Michael Fisher

Subject: RE: Popup Window with Java in Notes

To clarify – you can create a Java-native pop-up window (as the other posters have mentioned). What you can’t do is open any Notes-native dialogs, since there are no hooks to the Notes UI classes.

Subject: RE: Popup Window with Java in Notes

Hello,thank you all. May I get a little example ? Just a bit of code ? I am not so experienced in Java…

Thanx Martin

Subject: RE: Popup Window with Java in Notes

The link I posted has source code in it.dgg

Subject: RE: Popup Window with Java in Notes

Hi,thanx so much. Sorry I did not see it.

Bye Martin

Subject: Popup Window with Java in Notes

Have a peek at this:

The LS2J script extension would also allow you to present a Java GUI (with a little extra work).

hth,

dgg