ActionCallback (K key, boolean now) { myKey = key; ActionCallback callback = new ActionCallback(); if (now) { select(callback, key, prepare(key)); } else { selectLater(callback, key); } return callback; }