Révision 2042

tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/swt/SwingChartComposite.java (revision 2042)
47 47
import org.txm.core.messages.TXMCoreMessages;
48 48
import org.txm.core.preferences.TBXPreferences;
49 49
import org.txm.rcp.preferences.RCPPreferences;
50
import org.txm.utils.OSDetector;
50 51
import org.txm.utils.logger.Log;
51 52

  
52 53
/**
......
103 104
//		final JApplet applet = new JApplet(); 
104 105
//		this.rootPanel = (JComponent) applet.getRootPane().getContentPane();
105 106
//		this.frame.add(applet);
107

  
108
		 // FIXME: SJ: temporary workaround to Linux focus bugs
109
		// it breaks all the key events in charts (zoom, pan, selection, etc.) but 
110
		// stops the conflict between AWT and SWT events that freezes the SWT Spinner, TextFields, etc.
111
		// (Progression query, Specificities chart banality, etc.)
112
//		if(OSDetector.isFamilyUnix())	{
113
//			this.frame.setFocusableWindowState(false);
114
//		}
106 115
		
107 116
		this.frame.setVisible(true);
108 117

  

Formats disponibles : Unified diff