public DocumentView(JFrame owner, Collection collection, Resource resource) throws XMLDBException { super(owner, "View Document", false); this.collection= collection; this.resource= resource;
public DocumentView(Collection collection, Resource resource, Properties properties) throws XMLDBException { super("View Document"); this.collection = collection; this.resource = resource; this.properties = properties;
	public DocumentView(JFrame owner, Collection collection, Resource resource)		throws XMLDBException {		super(owner, "View Document", false);		this.collection= collection;		this.resource= resource;		getContentPane().setLayout(new BorderLayout());		setupComponents();		pack();	}