posted 14 years ago
Hi,
I have the following code:
private void riceviMouseClicked(java.awt.event.MouseEvent evt) {
mp = new MailParser();
ArrayList messages;
lblStatus.setText("Inizializzazione");
messages = receiveMail(opzioni.getPopServer().getValore(),
opzioni.getEmailUser().getValore(),
opzioni.getEmailPassword().getValore());
mp.parseAndStore(messages);
}
All run OK, BUT the text "Inizializzazione" appears only when the process (of receiving mails) terminated!
Why the sequence: "before write label, after receive mail" is not respected?
What I have to do to write the label (and show it, obviously!) before the process receiveMail starts?
Thank you to all and Merry Christmas!
Domenico