Revision 135 org.gvsig.googlemaps/trunk/org.gvsig.googlemaps/org.gvsig.googlemaps.swing/org.gvsig.googlemaps.swing.impl/src/main/java/org/gvsig/googlemaps/swing/impl/DefaultGoogleMapsParametersPanelView.java

View differences:

DefaultGoogleMapsParametersPanelView.java
29 29
   JTextField txtZoomLvl = new JTextField();
30 30
   JEditorPane txtDisclaimer = new JEditorPane();
31 31
   JEditorPane txtCrsWarning = new JEditorPane();
32
   JEditorPane txtURLDisclaimer = new JEditorPane();
32 33

  
33 34
   /**
34 35
    * Default constructor
......
120 121
   public JPanel createPanel()
121 122
   {
122 123
      JPanel jpanel1 = new JPanel();
123
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:GROW(1.0),CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
124
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:GROW(1.0),CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
124 125
      CellConstraints cc = new CellConstraints();
125 126
      jpanel1.setLayout(formlayout1);
126 127

  
......
174 175
      txtCrsWarning.setText("<html>\n  <head>\n    \n  </head>\n  <body>\n    <font color=\"red\">_crs_warning</font>\n  </body>\n</html>\n");
175 176
      EmptyBorder emptyborder2 = new EmptyBorder(0,0,0,0);
176 177
      txtCrsWarning.setBorder(emptyborder2);
177
      jpanel1.add(txtCrsWarning,cc.xywh(2,12,5,1));
178
      jpanel1.add(txtCrsWarning,cc.xywh(2,14,5,1));
178 179

  
179
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13 });
180
      txtURLDisclaimer.setAutoscrolls(false);
181
      txtURLDisclaimer.setContentType("text/html");
182
      txtURLDisclaimer.setEditable(false);
183
      txtURLDisclaimer.setName("txtURLDisclaimer");
184
      txtURLDisclaimer.setOpaque(false);
185
      txtURLDisclaimer.setSelectionEnd(16);
186
      txtURLDisclaimer.setSelectionStart(16);
187
      txtURLDisclaimer.setText("<html>\n  <head>\n    \n  </head>\n  <body>\n    _url_disclaimer\n  </body>\n</html>\n");
188
      EmptyBorder emptyborder3 = new EmptyBorder(0,0,0,0);
189
      txtURLDisclaimer.setBorder(emptyborder3);
190
      jpanel1.add(txtURLDisclaimer,cc.xywh(2,12,5,1));
191

  
192
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 });
180 193
      return jpanel1;
181 194
   }
182 195

  

Also available in: Unified diff