[EMAIL PROTECTED] schrieb:

> While debugging the application with JBuilder the "invokeLater" block is only called 
>once out of the main loop reporting the final totals.

Then

a) you only call it once
b) another Thread blocks the AWT-Eventqueue

> Short descriptrion of the JPanel Runnable application:
> - contructor add's a number of JTextField to the JPanel (start path, title, 
>feedback) and a JButton.
> - when the JButton is pressed the loop starts:
> -- init and start of the Thread and open database
> -- loop thru all directories and write to the database
> -- stop Thread and close database

Why don't you simply call invokeLater here? Or withing the loop?

> - the "run" method sleeps for 1 sec and calls your "invokeLater" block updating the 
>JTextField's

--
Christian Pesch - Software Engineer
CoreMedia AG - http://www.coremedia-ag.com - 0700-COREMEDIA



_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to