OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 93 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 93 Rev 182
Line 1... Line 1...
1
/*
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 * 
3
 * 
4
 * Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
4
 * Copyright 2011-2019 OpenConcerto, by ILM Informatique. All rights reserved.
5
 * 
5
 * 
6
 * The contents of this file are subject to the terms of the GNU General Public License Version 3
6
 * The contents of this file are subject to the terms of the GNU General Public License Version 3
7
 * only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
7
 * only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
8
 * copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
8
 * copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
9
 * language governing permissions and limitations under the License.
9
 * language governing permissions and limitations under the License.
Line 25... Line 25...
25
import java.awt.GridBagConstraints;
25
import java.awt.GridBagConstraints;
26
import java.awt.GridBagLayout;
26
import java.awt.GridBagLayout;
27
import java.awt.event.ActionEvent;
27
import java.awt.event.ActionEvent;
28
import java.beans.PropertyChangeEvent;
28
import java.beans.PropertyChangeEvent;
29
import java.beans.PropertyChangeListener;
29
import java.beans.PropertyChangeListener;
-
 
30
import java.util.Collections;
30
import java.util.Date;
31
import java.util.Date;
31
import java.util.concurrent.ExecutionException;
32
import java.util.concurrent.ExecutionException;
32
 
33
 
33
import javax.swing.AbstractAction;
34
import javax.swing.AbstractAction;
34
import javax.swing.JButton;
35
import javax.swing.JButton;
Line 72... Line 73...
72
                new Thread() {
73
                new Thread() {
73
                    public void run() {
74
                    public void run() {
74
                        RepartitionAnalytiqueSheetXML sheet = new RepartitionAnalytiqueSheetXML(dateDeb.getDate(), dateEnd.getDate());
75
                        RepartitionAnalytiqueSheetXML sheet = new RepartitionAnalytiqueSheetXML(dateDeb.getDate(), dateEnd.getDate());
75
                        try {
76
                        try {
76
                            sheet.createDocument();
77
                            sheet.createDocument();
77
                            sheet.showPrintAndExport(true, false, false);
78
                            sheet.showPrintAndExport(true, false, false, Collections.emptyList());
78
                        } catch (InterruptedException e) {
79
                        } catch (InterruptedException e) {
79
                            e.printStackTrace();
80
                            e.printStackTrace();
80
                        } catch (ExecutionException e) {
81
                        } catch (ExecutionException e) {
81
                            e.printStackTrace();
82
                            e.printStackTrace();
82
                        }
83
                        }