protected void Edit (String txt) { state = stateEdit; EntryBox editor = new EntryBox ("Edit Node", "Enter node:", txt, this, null, frame); editor.pack(); editor.show(); }