/** * Pops up the modal dialog and waits for cancel or a selection. * * @return either APPROVE_OPTION, or CANCEL_OPTION */ public int showDialog() { m_Result = CANCEL_OPTION; setData(); setVisible(true); return m_Result; }
/** * Sets the matrix to use as initial selected output format. * * @param matrix the matrix to use as initial selected output format */ public void setResultMatrix(ResultMatrix matrix) { m_ResultMatrix = matrix; setData(); }