Revision 2585 org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.app.basic/src/main/java/org/gvsig/raster/tools/app/basic/tool/enhanced/ui/GraphicsPanel.java

View differences:

GraphicsPanel.java
43 43
import org.gvsig.fmap.dal.coverage.exception.HistogramException;
44 44
import org.gvsig.fmap.dal.coverage.exception.ProcessInterruptedException;
45 45
import org.gvsig.fmap.dal.coverage.store.props.HistogramComputer;
46
import org.gvsig.i18n.Messages;
46 47
import org.gvsig.raster.fmap.layers.FLyrRaster;
47 48
import org.gvsig.raster.swing.preview.PreviewBasePanelTab;
48
import org.gvsig.raster.tools.app.basic.RasterToolsUtil;
49 49
import org.gvsig.raster.tools.app.basic.tool.enhanced.graphics.InputHistogram;
50 50
import org.gvsig.raster.tools.app.basic.tool.enhanced.graphics.OutputHistogram;
51 51
import org.gvsig.tools.locator.LocatorException;
......
111 111
	 */
112 112
	private void init() {
113 113
		setLayout(new GridBagLayout());
114
		setBorder(javax.swing.BorderFactory.createTitledBorder(null, RasterToolsUtil.getText(this, "histograms"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null));
114
		setBorder(javax.swing.BorderFactory.createTitledBorder(null, Messages.getText("histograms"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, null, null));
115 115
		GridBagConstraints gridBagConstraints = null;
116 116

  
117
		JLabel label1 = new JLabel(RasterToolsUtil.getText(null, "input_hist"));
117
		JLabel label1 = new JLabel(Messages.getText("input_hist"));
118 118
		gridBagConstraints = new GridBagConstraints();
119 119
		gridBagConstraints.insets = new Insets(4, 4, 4, 4);
120 120
		gridBagConstraints.anchor = java.awt.GridBagConstraints.CENTER;
......
122 122
		label1.setPreferredSize(new Dimension(150, 14));
123 123
		add(label1, gridBagConstraints);
124 124
		
125
		JLabel label2 = new JLabel(RasterToolsUtil.getText(null, "output_hist"));
125
		JLabel label2 = new JLabel(Messages.getText("output_hist"));
126 126
		gridBagConstraints = new GridBagConstraints();
127 127
		gridBagConstraints.gridx = 2;
128 128
		gridBagConstraints.gridy = 0;
......
235 235
			controls = new JPanel();
236 236
			controls.setLayout(new GridBagLayout());
237 237
			
238
			llevels = new JLabel(RasterToolsUtil.getText(null, "levels"));
238
			llevels = new JLabel(Messages.getText("levels"));
239 239
			
240 240
			GridBagConstraints gbc = new GridBagConstraints();
241 241
			gbc.weightx = 1;

Also available in: Unified diff