Révision 2048

tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/swt/SwingChartComposite.java (revision 2048)
115 115
		this.frame.setVisible(true);
116 116

  
117 117
		this.rootPanel.setBackground(Color.WHITE);
118
		this.rootPanel.setBorder(new LineBorder(Color.WHITE, 1));
118 119
		
119 120
		
120
		
121 121
		// SJ: Workaround to fix a bug with some Java version and some OS where the focus of an embedded Swing component does not delegate to SWT, eg. the Part is not activated.
122 122
		// After some tests, doesn't seem to work on Linux and Mac
123 123
		// see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=377104
......
238 238
				
239 239
				// FIXME: For Swing focus debug tests
240 240
				//if(RCPPreferences.getInstance().getBoolean(TBXPreferences.EXPERT_USER))	{
241
					((JComponent) rootPanel).setBorder(javax.swing.BorderFactory.createEmptyBorder());
241
				((JComponent) rootPanel).setBorder(new LineBorder(Color.WHITE, 1));
242
					//((JComponent) rootPanel).setBorder(javax.swing.BorderFactory.createEmptyBorder());
242 243
				//}
243 244

  
244 245
				

Formats disponibles : Unified diff