public ObjectEditorFrame(String pid, int startTab)
throws Exception {
super(pid, true, true, true, true);
m_pid = pid;
// query the server for key object fields
ObjectFields o =
Util.getObjectFields(pid, new String[] {"pid", "state",
"label", "cDate", "mDate", "ownerId"});
String state = o.getState() != null ? o.getState().getValue() : null;
String label = o.getLabel() != null ? o.getLabel().getValue() : null;
String cDate = o.getCDate() != null ? o.getCDate().getValue() : null;
String mDate = o.getMDate() != null ? o.getMDate().getValue() : null;
String ownerId = o.getOwnerId() != null ? o.getOwnerId().getValue() : null;
doTitle(false);
// set up dirtiness check on close
setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);