protected void Edit (String txt) { state = stateEdit; EntryBox editor = new EntryBox ("Edit Node", "Enter node:", txt, this, null, frame); editor.pack(); editor.show(); }
public void entryBoxHandler (EntryBox e, Object arg) { if (state != stateEdit) return; state = stateIdle; if (e.GetButton() == 0) { curnode.SetInst (e.GetText()); NotifyViewers(); } }