Revision 8275 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/panels/LinkPanel.java

View differences:

LinkPanel.java
66 66
 * Vista donde mostrar el fichero del hiperlink.
67 67
 *
68 68
 * @author Vicente Caballero Navarro
69
 * 
69
 *
70 70
 */
71 71
public class LinkPanel extends JPanel implements IWindow {
72 72
	private static Logger logger = Logger.getLogger(LinkPanel.class.getName());
......
101 101
		this.add(getJPanel(), java.awt.BorderLayout.SOUTH);
102 102
	}
103 103

  
104
	
104

  
105 105
	/**
106 106
	 * This method initializes jScrollPane
107 107
	 *
......
123 123
	 * @return javax.swing.JEditorPane
124 124
	 */
125 125
	private JPanel getJPane() {
126
		
126

  
127 127
		if (jPane == null) {
128 128
			jPane=new JPanel();
129
			
129

  
130 130
			//if (ext.equals(".htm") || ext.equals(".HTM") || ext.equals(".html") || ext.equals(".HTML") || ext.equals(".xml") || ext.equals(".XML") || ext.equals(".txt") || ext.equals(".TXT")){
131 131
			if (type==1){
132 132
				JEditorPane jEditorPane = new JEditorPane();
......
191 191
			}
192 192
			JLabel label = new JLabel(image);
193 193
			jPane.add(label);
194
			
194

  
195 195
			jPane.setVisible(true);
196
			
196

  
197 197
		}
198 198
		}
199 199

  
......
259 259
	public WindowInfo getWindowInfo() {
260 260
		WindowInfo m_ViewInfo = new WindowInfo(WindowInfo.MODALDIALOG |
261 261
				WindowInfo.RESIZABLE);
262
		m_ViewInfo.setTitle("HiperLink");
262
		m_ViewInfo.setTitle(PluginServices.getText(this,"Hiperenlace"));
263 263

  
264 264
		return m_ViewInfo;
265 265
	}

Also available in: Unified diff