Skip to main content

developerWorks >  Java technology  >  Forums  >  Client-side Java programming  >  developerWorks

UIField Listener    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
JavaSkywalker

Posts: 1
Registered: Oct 25, 2009 09:48:59 PM
UIField Listener
Posted: Oct 25, 2009 10:04:58 PM
 
Click to report abuse...   Click to reply to this thread Reply
Hi fellow notes/java members.

I'm trying to utilise the DocumentFieldChangeEvent(NotesUIField oldField, NotesUIField newField) in the new Java 8.5.1 Java API to capture when a user has changed focus from field to field. I'm having trouble arranging the code to explicitly set the old and new field without eclipse throwing errors. Any help would be greatly appreciated! The following code took me while to derive from the api, but doesn't let me set the old and new field. Thanks in advance!:

uidoc.addFieldListener(new DocumentFieldListener() {

public void fieldChanged(DocumentFieldChangeEvent arg0) {

MessageDialog.openInformation(c.getShell(), "Star Wars",
arg0.getNewField().getText());
arg0.getNewField();
}

});
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums