{ String message = ProgressMessageFormatter.format("Loaded image %n of %t...", theCount,theTotal); status.processAdvanced(message); thumbnails.add(t); }
{ Thumbnail[] ts = new Thumbnail[thumbnails.size()]; thumbnails.toArray(ts); model.addThumbnails(ts); status.processSucceeded("All images loaded."); }
                                public void run()                                {                                    String message =                                        ProgressMessageFormatter.format("Loaded image %n of %t...",                                                                        theCount,theTotal);                                    status.processAdvanced(message);                                    thumbnails.add(t);                                }