Java UI classes

Where can i find instructions how to use Java UI classes in Notes 8.5.1?

DDE help doesn’t help and i don’t get any results when searhing “designerresource” in this forum or LDD wiki.

I have developed some java agents and I would like to use prompt-property.

Subject: Here’s some info…

http://planetlotus.org/profiles/mindoo-gmbh_58869_notes-8-5-1-the-new-java-ui-classes-and-domino-designer-extensibility-api

Subject: how to import package?

I still can’t make it work… If I try:

import com.ibm.notes.java.ui;

DDE gives error:“The import com.ibm… cannot be resolved”

If i try:

NotesUIWorkspace ws = new NotesUIWorkspace();

then DDE says “NotesUIWorkspace cannot be resolved to a type”

I might do everything wrong here, but that’s because i thought UI classes are REALLY available without doing some highlevel science.

Do i have to download some extra java packages or how it is done?

Subject: Java UI classes are useless without examples

Before Lotus Notes/Domino 8.5.1 was released, there was bells and drums saying that you are going to have Java UI classes in 8.5.1. Now I got 8.5.1 downloaded and installed but I still can’t use those looong-waited classes.

Why?

Because I don’t know how to get them to work. Documentation says something about API’s etc.

But… There are zero, null, 0, examples. There are no step by step documentation.

I just wanted to use prompt…

Here is how I thought it should work:

  1. I create Java agent

  2. I declare NotesUIWorkspace

  3. I call workspace’s prompt-property

Here is what happens.

  1. Succeed

  2. Fail

  3. Fail

Anyone, Someone, Anybody, Somebody… Please help… :confused:

Subject: You can only use the Java UI classes in an Eclipse plugin

They are not available for classic agents or Java libraries.To use the Java UI classes, you need to setup an Eclipse plugin development environment and add the plugin “com.ibm.notes.java.api” to the dependency list of your own Eclipse plugin. Then the classes become part of the Java classpath and can be used in your code.

I added a comment about this restriction to my blog entry at: