if (selected instanceof ObjectFolderNode) {
ObjectFolderNode node = (ObjectFolderNode) selected;
// make a window for the property editor
JDialog propFrame = new JDialog(this, "Properties", true);
PropertyEditorController editor = new PropertyEditorController(node);
propFrame.getContentPane().add(editor);
propFrame.pack();
// set the location.
Point p1 = this.getLocation();