static SS autoGetDataFromForm(Component form) { SS data = new LinkedHashMap; for (Component c : allChildren(form)) { S id = componentID(c); if (id == null) continue; S value = null; for (Component c2 : allChildren(c)) if (c2 instanceof JTextComponent) value = getText((JTextComponent) c2); mapPut(data, id, value); } ret data; }