editTransformButton = resources.getButton("editTransform", new ActionListener() {
public void actionPerformed(ActionEvent e) {
NamedProperties res;
if (transform == null) {
res = AffineTransformDataPanel.showDialog(PropertiesPanel1D.this.getOwner(), resources
.getString("transformationTitle"), new AffineTransformData());
} else {
res = AffineTransformDataPanel.showDialog(PropertiesPanel1D.this.getOwner(), resources
.getString("transformationTitle"), transform);
}
if (res != null) {
if (transform == null) {
transform = new AffineTransformData();
}
String[] props = res.getPropertyNames();
if (props != null) {
for (int j = 0; j < props.length; j++) {
String pname = props[j];