979899100101102103104105106107
dpy.setCurrent(form); for (int ii = 0; ii < items.length; ii++) { form.append(items[ii]); if (ii == 3) { baton.start(); } } baton.finish(); // wait for queued events to be processed
151152153154155156157158159160161
new Runnable() { public void run() { baton.pass(); } }); baton.start(); // Append a focusable item to the form, and then call // uTraverse() directly, as if a key had been pressed at // exactly the right moment.