updates the content of the text area . this method will be called by an observable element . if the observable is a mailsaver object , the text area will contain the content of the last received email ; if the observable is a clearallbutton object , the text area will be cleared . concode_field_sep JScrollPane lastMailPane concode_elem_sep JTextArea lastMailArea concode_field_sep JScrollPane get
void function ( Observable arg0 , Object arg1 ) { if ( arg0 instanceof MailSaver ) { EmailModel loc0 = ( EmailModel ) arg1 ; lastMailArea . setText ( loc0 . getEmailStr ( ) ) ; } else if ( arg0 instanceof ClearAllButton ) { lastMailArea . setText ( "srini_string" ) ; } }