pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Serré <jerome.michel.se...@gmail.com>
Subject FileBrowserSheet
Date Mon, 19 Dec 2011 08:43:34 GMT

I use a FileBrowserSheet to open multiple files and then use them in a
lengthy process.
I would like to open a Dialog with a meter.
Unfortunately the window does not open only after the process is complete.
Have you any idea how to do this?

thank you very much

Part of code:


public void perform(Component source) {

       File dir = new File(data);

       dir = dir.getAbsoluteFile(); 


       fbs.open(owner, new SheetCloseListener() {


             public void sheetClosed(Sheet sheet) {

                    try {

                           if (sheet.getResult()) {


/*Open Dialog*/

                                  ImmutableList<File> selectedFiles =

                                 for (int i=0; i< selectedFiles;i++) {

                                        String file =

/*Long processus*/ep.addRecord(XmlRecordReader.read(file));

                    /*Update Meter on dialog box*/


                           } catch(Exception e) {}




Jérôme Serré


Manage your cellar

 <http://www.macave.eu/> http://www.macave.eu



View raw message