Revision 38646

View differences:

branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/gui/ProjectWindow.java
51 51
import javax.swing.JRadioButton;
52 52
import javax.swing.JScrollPane;
53 53
import javax.swing.ScrollPaneConstants;
54
import javax.swing.SwingUtilities;
54 55
import javax.swing.border.TitledBorder;
55 56

  
56 57
import org.gvsig.andami.PluginServices;
......
1056 1057
        return m_viewInfo;
1057 1058
    }
1058 1059

  
1059
    public void propertyChange(PropertyChangeEvent evt) {
1060
    public void propertyChange(final PropertyChangeEvent evt) {
1061
		if( !SwingUtilities.isEventDispatchThread() ) {
1062
			SwingUtilities.invokeLater( new Runnable() {
1063
				public void run() {
1064
					propertyChange(evt);
1065
				}
1066
			});
1067
			return;
1068
		}
1060 1069
        refreshControls();
1061 1070
    }
1062 1071

  

Also available in: Unified diff