Logo Search packages:      
Sourcecode: fex version File versions  Download package

void fix::ErrorWindow::setMess ( String  message,
String  title,
Exception  e1 
) [inline]

This method updates the message&title to be displayed and displays the dialog Exception.

Parameters:
message 
title 
e1 

Definition at line 216 of file ErrorWindow.java.

References setSize().

                                                                      {
            if (d) {
                  System.err.println(message);
                  if (e1 != null)
                        e1.printStackTrace();
            }
            mess = message;
            e = e1;
            if (e != null)
                  errLabel.setText(e.getMessage());
            messLabel.setText(mess);
            setSize(mess);
            this.setTitle(title);
            this.setVisible(true);
      }


Generated by  Doxygen 1.6.0   Back to index