Content content = new DummyTextParseableField("password");
ViewSpecification specification = new ExampleViewSpecification();
ViewAxis axis = null;
PasswordField textField = new PasswordField(content, specification, axis);
textField.setParent(parent);
// textField.setMaxWidth(200);
textField.setLocation(new Location(50, 20));
textField.setSize(textField.getRequiredSize(new Size()));
workspace.addView(textField);
textField = new PasswordField(content, specification, axis);
textField.setParent(parent);
// textField.setMaxWidth(80);
textField.setLocation(new Location(50, 80));
textField.setSize(textField.getRequiredSize(new Size()));
workspace.addView(textField);
content = new DummyTextParseableField("pa");
PasswordField view = new PasswordField(content, specification, axis);
view.setParent(parent);
// view.setMaxWidth(200);
view.setLocation(new Location(50, 140));
view.setSize(view.getRequiredSize(new Size()));
workspace.addView(view);
view = new PasswordField(content, specification, axis);
view.setParent(parent);
// view.setMaxWidth(80);
view.setLocation(new Location(50, 250));
view.setSize(view.getRequiredSize(new Size()));
workspace.addView(view);
}