Revision 6867 trunk/libraries/libJCRS/src/org/gvsig/crs/ui/TransformationSelectionDialogPanel.java

View differences:

TransformationSelectionDialogPanel.java
7 7
import javax.swing.JPanel;
8 8

  
9 9
import org.cresques.ui.DefaultDialogPanel;
10
import org.gvsig.crs.EpsgConnection;
11 10

  
12 11
public class TransformationSelectionDialogPanel extends DefaultDialogPanel {
13 12
	
14 13
	private static final long serialVersionUID = 1L;	
15 14

  
16 15
	public TransformationSelectionDialogPanel() {
17
		super();
16
		super(false);
18 17
		inicializate();
19 18
	}
20
	
21 19
	public void inicializate(){
22
		this.setSize(700,700);        
20
		this.add(getContentPanel(), null);        
23 21
	}
24 22
			
25
    public TransformationSelectionPanel getProjPanel() {
26
        return (TransformationSelectionPanel) getContentPanel();
23
    public CrsView getProjPanel() {
24
        return (CrsView) getContentPanel();
27 25
    }
28 26

  
29 27
	public JPanel getContentPanel() {
30 28
	    if (contentPane == null) {
31
        	contentPane = new TransformationSelectionPanel();
29
        	contentPane = new CrsView();
32 30
        	contentPane.setLayout(new GridLayout(3,3));
33 31
        	contentPane.setLayout(new FlowLayout( FlowLayout.LEFT,10,10));
34 32
	    	contentPane.setPreferredSize(new Dimension(680,650));        	

Also available in: Unified diff