Revision 8120 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/gui/ViewProperties.java

View differences:

ViewProperties.java
55 55
import com.iver.andami.ui.mdiManager.SingletonWindow;
56 56
import com.iver.andami.ui.mdiManager.WindowInfo;
57 57
import com.iver.cit.gvsig.gui.layout.Attributes;
58
import com.iver.cit.gvsig.gui.panels.CRSSelectPanel;
58 59
import com.iver.cit.gvsig.gui.panels.ProjChooserPanel;
59 60
import com.iver.cit.gvsig.project.documents.view.ProjectView;
60 61
/**
......
99 100
	//private JLabel jLblProj = null;
100 101
	//private JLabel jLblProjName = null;
101 102
	//private JButton jBtnChangeProj = null;
102
	private ProjChooserPanel jPanelProj = null;
103
	private CRSSelectPanel jPanelProj = null;
103 104
	private AcceptCancelPanel okCancelPanel = null;
104 105
	/**
105 106
	 * This is the default constructor
......
578 579
	 *
579 580
	 * @return javax.swing.JPanel
580 581
	 */
581
	private ProjChooserPanel getJPanelProj() {
582
	private CRSSelectPanel getJPanelProj() {
582 583
		if (jPanelProj == null) {
583
			jPanelProj = new ProjChooserPanel(view.getProjection());
584
			jPanelProj = CRSSelectPanel.getPanel(view.getProjection());
584 585
			jPanelProj.setPreferredSize(new java.awt.Dimension(330,35));
585 586
			jPanelProj.addActionListener(new java.awt.event.ActionListener() {
586 587
				public void actionPerformed(java.awt.event.ActionEvent e) {

Also available in: Unified diff