OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 174 Rev 177
Line 62... Line 62...
62
import org.openconcerto.ui.component.MutableListComboPopupListener;
62
import org.openconcerto.ui.component.MutableListComboPopupListener;
63
import org.openconcerto.ui.preferences.EmailProps;
63
import org.openconcerto.ui.preferences.EmailProps;
64
import org.openconcerto.utils.ExceptionHandler;
64
import org.openconcerto.utils.ExceptionHandler;
65
import org.openconcerto.utils.JImage;
65
import org.openconcerto.utils.JImage;
66
import org.openconcerto.utils.cc.IClosure;
66
import org.openconcerto.utils.cc.IClosure;
67
import org.openconcerto.utils.i18n.TranslationManager;
-
 
68
 
67
 
69
import java.awt.Color;
68
import java.awt.Color;
70
import java.awt.GridBagConstraints;
69
import java.awt.GridBagConstraints;
71
import java.awt.GridBagLayout;
70
import java.awt.GridBagLayout;
72
import java.awt.Image;
71
import java.awt.Image;
Line 108... Line 107...
108
 
107
 
109
        Runnable r = new Runnable() {
108
        Runnable r = new Runnable() {
110
 
109
 
111
            public void run() {
110
            public void run() {
112
                try {
111
                try {
113
                    TranslationManager.getInstance().addTranslationStreamFromClass(MainFrame.class);
-
 
114
                    TranslationManager.getInstance().setLocale(UserProps.getInstance().getLocale());
-
 
115
 
-
 
116
                    final Boolean booleanValue = UserProps.getInstance().getBooleanValue("HideTips");
112
                    final Boolean booleanValue = UserProps.getInstance().getBooleanValue("HideTips");
117
                    if (!booleanValue) {
113
                    if (!booleanValue) {
118
                        SwingUtilities.invokeLater(new Runnable() {
114
                        SwingUtilities.invokeLater(new Runnable() {
119
                            @Override
115
                            @Override
120
                            public void run() {
116
                            public void run() {
Line 302... Line 298...
302
        Thread t = new Thread() {
298
        Thread t = new Thread() {
303
            @Override
299
            @Override
304
            public void run() {
300
            public void run() {
305
                // laisse le temps au logiciel de demarrer
301
                // laisse le temps au logiciel de demarrer
306
                try {
302
                try {
307
                    Thread.sleep(10000);
303
                    Thread.sleep(1000);
308
                } catch (InterruptedException e) {
304
                } catch (InterruptedException e) {
309
                    e.printStackTrace();
305
                    e.printStackTrace();
310
                }
306
                }
311
                ClasseCompte.loadClasseCompte();
307
                ClasseCompte.loadClasseCompte();
312
                CaisseCotisationSQLElement.getCaisseCotisation();
308
                CaisseCotisationSQLElement.getCaisseCotisation();