there is a Tree and a TextArea, when user double click on the TreeItem, the
TreeItem text will be copied to the TextArea, and I want the mouse cursor
(focus) remain on the TextArea so when using type some text, the text will
be added in the TextArea.
I try to use ScheduledCommand but not work.
dbField.addSelectionHandler(new SelectionHandler<TreeItem>(){
> public void onSelection(SelectionEvent<TreeItem> event){
> customSqlTextBox.setText(event.getSelectedItem().getText());
> Scheduler.get().scheduleDeferred(scheduleCmd);
> }
> });
>
private final ScheduledCommand scheduledCmd = new ScheduledCommand(){
@Override
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/GCMwr-5ZT5QJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.