Пример #1
0
 /**
  * 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;
 }
Пример #2
0
 /**
  * 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();
 }