public GalleryEditorDialog(JDialog owner, Gallery gallery) { super(owner, true); this.gallery = gallery;  jbInit();  resetUIState();  pack(); DialogUtil.center(this, owner);  setVisible(true);
public GalleryEditorDialog(JDialog owner) { this(owner, null);
	public GalleryEditorDialog(JDialog owner, Gallery gallery) {		super(owner, true);		this.gallery = gallery;		jbInit();		resetUIState();		pack();		DialogUtil.center(this, owner);		setVisible(true);	}