Logo Search packages:      
Sourcecode: octave-java version File versions  Download package

static int org::octave::JDialogBox::errordlg ( String  errorstring,
String  dlgname 
) [inline, static]

Implements a simple errordlg with default text and caption. Not very useful.

errorstringString - the error message to display.
dlgnameString - the caption of the dialog box.
int - always 1

Definition at line 332 of file JDialogBox.java.

References genericdlg().

Referenced by main().

      JDialogBox d = new JDialogBox ();
      String s[] = new String[1];
      s[0] = errorstring;
      return ( d.genericdlg ( s, null, dlgname, "on", FLAG_TEXT | FLAG_ERROR,
                              null, null,
                              m_OK, null, m_Cancel ) );

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index