{
txtUsername = boxAll.makeText("Username", p.getUser());
txtUsername.setEnabled(false);
for(String key : p.keySet()) {
ConfigTextField cta = boxAll.makeText(key, p.get(key));
boolean enableThisKey = enableWrite && key.startsWith(UserProfile.PROFILE_);
cta.setEnabled(enableThisKey);
if(enableThisKey)
txtBoxes.put(key, cta);
}
Box buttons = new Box(BoxLayout.X_AXIS);