Revision 11411

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/ImageSizePanel.java
43 43
import java.awt.BorderLayout;
44 44
import java.awt.Color;
45 45
import java.awt.Dimension;
46
import java.awt.Event;
47 46
import java.awt.Graphics;
48 47
import java.awt.event.ActionEvent;
49 48
import java.awt.event.ActionListener;
......
54 53

  
55 54
import javax.swing.Icon;
56 55
import javax.swing.ImageIcon;
56
import javax.swing.JLabel;
57 57
import javax.swing.JPanel;
58 58
import javax.swing.JToggleButton;
59 59

  
......
77 77
	private double ratio;
78 78
	private boolean performing;
79 79
	private boolean locked = true;
80

  
80
	private JUnitsComboBox cmbUnits;
81 81
	public ImageSizePanel(){
82 82
		super();
83 83
		initialize();
......
95 95
				widthTxt = new IncrementalNumberField(null, 5, ValidatingTextField.DOUBLE_VALIDATOR, ValidatingTextField.NUMBER_CLEANER));
96 96
		aux.addComponent(PluginServices.getText(this, "height")+":",
97 97
				heightTxt = new IncrementalNumberField(null, 5, ValidatingTextField.DOUBLE_VALIDATOR, ValidatingTextField.NUMBER_CLEANER));
98
		aux.addComponent(
99
				PluginServices.getText(this, "units")+":",
100
				cmbUnits = new JUnitsComboBox());
98 101
		setLayout(new BorderLayout());
99 102
		add(aux, BorderLayout.CENTER);
100 103
		JPanel lockPanel = new JPanel(null) {
......
135 138
//			}
136 139
//		});
137 140
		lock.addMouseListener(this);
138

  
141
//		GridBagLayoutPanel south = new GridBagLayoutPanel();
142
//		south.addComponent(
143
//				PluginServices.getText(this, "units")+":",
144
//				cmbUnits = new JUnitsComboBox());
145
//		add(south, BorderLayout.SOUTH);
139 146
	}
140 147

  
141 148
	public void setImageDimension(double width, double height) {

Also available in: Unified diff